Skip to content

Commit f18ae26

Browse files
committed
Run lint for unsafe on the ast
1 parent ea5197c commit f18ae26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
111111
add_early_builtin!(sess,
112112
UnusedParens,
113113
UnusedImportBraces,
114+
UnsafeCode,
114115
AnonymousParameters,
115116
UnusedDocComment,
116117
BadRepr,
@@ -134,7 +135,6 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
134135
NonSnakeCase: NonSnakeCase,
135136
NonUpperCaseGlobals: NonUpperCaseGlobals,
136137
NonShorthandFieldPatterns: NonShorthandFieldPatterns,
137-
UnsafeCode: UnsafeCode,
138138
UnusedAllocation: UnusedAllocation,
139139
MissingCopyImplementations: MissingCopyImplementations,
140140
UnstableFeatures: UnstableFeatures,

0 commit comments

Comments
 (0)