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 | 8f4f476a54fc12eec0c969ac65086976fcd7d318 (patch) | |
| tree | aa2c0e33fff5491bdff7be8aed12f7113781618c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | ff27f9095f5edebdd03e885cb4df74ad32df30dc (diff) | |
| parent | 7ef1a54ffeefc3f3e8e18afc2dbb9ed21b890d8e (diff) | |
| download | rust-8f4f476a54fc12eec0c969ac65086976fcd7d318.tar.gz rust-8f4f476a54fc12eec0c969ac65086976fcd7d318.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_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
