diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-03 17:29:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-03 17:29:06 +0200 |
| commit | 7518ae566ef8f0f36f07683e6bbebbd2fa4402d1 (patch) | |
| tree | 70dfa91e6011b93af9466e122fc6f36c973890b1 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | fcf3006e0133365ecd26894689c086387edcbecb (diff) | |
| parent | ee519532f69610e208fc61a68537aa662c3e8d16 (diff) | |
| download | rust-7518ae566ef8f0f36f07683e6bbebbd2fa4402d1.tar.gz rust-7518ae566ef8f0f36f07683e6bbebbd2fa4402d1.zip | |
Rollup merge of #113657 - Urgau:expand-incorrect_fn_null_check-lint, r=cjgillot
Expand, rename and improve `incorrect_fn_null_checks` lint This PR, - firstly, expand the lint by now linting on references - secondly, it renames the lint `incorrect_fn_null_checks` -> `useless_ptr_null_checks` - and thirdly it improves the lint by catching `ptr::from_mut`, `ptr::from_ref`, as well as `<*mut _>::cast` and `<*const _>::cast_mut` Fixes https://github.com/rust-lang/rust/issues/113601 cc ```@est31```
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
