Skip to content

Commit 79e572e

Browse files
committed
rustc: Fix handling of - and _ in lint pass
1 parent 8c8db42 commit 79e572e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn get_lint_dict() -> lint_dict {
4242
desc: "proper use of core::libc types in native modules",
4343
default: warn}),
4444

45-
("unused-imports",
45+
("unused_imports",
4646
@{lint: unused_imports,
4747
desc: "imports that are never used",
4848
default: ignore})

0 commit comments

Comments
 (0)