Add #[rustc_never_returns_null_ptr]
And look for it in the useless_ptr_null_checks lint
This commit is contained in:
parent
e173a8e663
commit
8cfa4fe6b2
4 changed files with 9 additions and 1 deletions
|
@ -1311,6 +1311,7 @@ symbols! {
|
|||
rustc_main,
|
||||
rustc_mir,
|
||||
rustc_must_implement_one_of,
|
||||
rustc_never_returns_null_ptr,
|
||||
rustc_nonnull_optimization_guaranteed,
|
||||
rustc_nounwind,
|
||||
rustc_object_lifetime_default,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue