Run lint for unsafe on the ast
This commit is contained in:
parent
ea5197c664
commit
f18ae26840
@ -111,6 +111,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
|
||||
add_early_builtin!(sess,
|
||||
UnusedParens,
|
||||
UnusedImportBraces,
|
||||
UnsafeCode,
|
||||
AnonymousParameters,
|
||||
UnusedDocComment,
|
||||
BadRepr,
|
||||
@ -134,7 +135,6 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
|
||||
NonSnakeCase: NonSnakeCase,
|
||||
NonUpperCaseGlobals: NonUpperCaseGlobals,
|
||||
NonShorthandFieldPatterns: NonShorthandFieldPatterns,
|
||||
UnsafeCode: UnsafeCode,
|
||||
UnusedAllocation: UnusedAllocation,
|
||||
MissingCopyImplementations: MissingCopyImplementations,
|
||||
UnstableFeatures: UnstableFeatures,
|
||||
|
Loading…
Reference in New Issue
Block a user