Fire unsafe_code lint on unsafe extern blocks
This commit is contained in:
parent
c3774be741
commit
a3ef94e80e
5 changed files with 41 additions and 0 deletions
|
@ -163,6 +163,8 @@ lint_builtin_unreachable_pub = unreachable `pub` {$what}
|
|||
|
||||
lint_builtin_unsafe_block = usage of an `unsafe` block
|
||||
|
||||
lint_builtin_unsafe_extern_block = usage of an `unsafe extern` block
|
||||
|
||||
lint_builtin_unsafe_impl = implementation of an `unsafe` trait
|
||||
|
||||
lint_builtin_unsafe_trait = declaration of an `unsafe` trait
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue