Files
rust/compiler
Matthias Krüger 7518ae566e 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```
2023-08-03 17:29:06 +02:00
..
2023-08-03 09:03:30 +10:00
2023-05-02 10:45:16 -07:00
2023-08-03 09:03:30 +10:00
2023-07-03 07:20:51 +00:00
2023-08-03 09:03:30 +10:00
2023-08-03 09:03:30 +10:00
2023-07-19 16:37:09 +00:00
2023-07-03 13:51:54 -07:00
2023-07-31 16:21:02 +10:00
2023-08-01 17:48:20 +03:00