Skip to content

Commit 55461d8

Browse files
committed
Change the default level of unused_imports to warn
1 parent c639a78 commit 55461d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub fn get_lint_dict() -> LintDict {
132132
@LintSpec {
133133
lint: unused_imports,
134134
desc: "imports that are never used",
135-
default: allow
135+
default: warn
136136
}),
137137

138138
(@~"while_true",

0 commit comments

Comments
 (0)