rustc: Fix handling of - and _ in lint pass

This commit is contained in:
Brian Anderson 2012-04-12 18:11:23 -07:00
parent 8c8db42fc5
commit 79e572ebbb

View file

@ -42,7 +42,7 @@ fn get_lint_dict() -> lint_dict {
desc: "proper use of core::libc types in native modules",
default: warn}),
("unused-imports",
("unused_imports",
@{lint: unused_imports,
desc: "imports that are never used",
default: ignore})