Rollup merge of #127391 - estebank:null_mut, r=cjgillot

Use verbose suggestion for `ptr::null_mut()`
This commit is contained in:
Matthias Krüger 2024-07-06 13:26:26 +02:00 committed by GitHub
commit 1e0028197f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -501,6 +501,7 @@ pub enum SuggestBoxing {
#[suggestion(
hir_typeck_suggest_ptr_null_mut,
applicability = "maybe-incorrect",
style = "verbose",
code = "core::ptr::null_mut()"
)]
pub struct SuggestPtrNullMut {