Rollup merge of #127391 - estebank:null_mut, r=cjgillot
Use verbose suggestion for `ptr::null_mut()`
This commit is contained in:
commit
1e0028197f
2 changed files with 7 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue