Enable the `unsafe_op_in_unsafe_fn` lint
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
`unsafe_op_in_unsafe_fn` will be warn by default in rust edition 2024 (https://github.com/rust-lang/rust/pull/112038).
## What solution would you like?
Enable `unsafe_op_in_unsafe_fn`.
## Additional context
I have opened a PR (#11591) that enables the lint at workspace level and fixes the lint in some crates.
Nevertheless, the `clippy::undocumented-unsafe-blocks` lint makes unsafe blocks require a safety comment to describe them.
The following crates require someone with enough knowledge about them to provide proper safety comments.
- [x] `bevy_dynamic_plugin` #11622
- [ ] `bevy_ecs`
- [x] `bevy_ptr` #11610
Contributor guide
Assessment
This issue has not been assessed yet.