Add MVP suggestion for unsafe_op_in_unsafe_fn
Nemo157 rebase notes: Migrated the changes to the lint into fluent
This commit is contained in:
parent
a525c7ddba
commit
975152ce30
7 changed files with 105 additions and 11 deletions
|
@ -55,6 +55,7 @@ mir_transform_unaligned_packed_ref = reference to packed field is unaligned
|
|||
mir_transform_union_access_label = access to union field
|
||||
mir_transform_union_access_note = the field may not be properly initialized: using uninitialized data will cause undefined behavior
|
||||
mir_transform_unsafe_op_in_unsafe_fn = {$details} is unsafe and requires unsafe block (error E0133)
|
||||
.suggestion = consider wrapping the function body in an unsafe block
|
||||
|
||||
mir_transform_unused_unsafe = unnecessary `unsafe` block
|
||||
.label = because it's nested under this `unsafe` block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue