In edition 2024, `unsafe` blocks must be used inside `unsafe fn` to do unsafe things. The `misnamed_getters` would not lint if the getter expression was embedded inside an `unsafe` block. |
||
|---|---|---|
| .. | ||
| impl_trait_in_params.rs | ||
| misnamed_getters.rs | ||
| mod.rs | ||
| must_use.rs | ||
| not_unsafe_ptr_arg_deref.rs | ||
| ref_option.rs | ||
| renamed_function_params.rs | ||
| result.rs | ||
| too_many_arguments.rs | ||
| too_many_lines.rs | ||