Remove unused_extern_crate
and unused_result
from the unused
lint group
These lints are allow by default because they are sometimes too sensitive.
This commit is contained in:
parent
15dd90b647
commit
a0ee7c9f55
@ -221,8 +221,8 @@ impl LintStore {
|
||||
|
||||
add_lint_group!(sess, "unused",
|
||||
UNUSED_IMPORTS, UNUSED_VARIABLES, UNUSED_ASSIGNMENTS, DEAD_CODE,
|
||||
UNUSED_MUT, UNREACHABLE_CODE, UNUSED_EXTERN_CRATES, UNUSED_MUST_USE,
|
||||
UNUSED_UNSAFE, UNUSED_RESULTS, PATH_STATEMENTS)
|
||||
UNUSED_MUT, UNREACHABLE_CODE, UNUSED_MUST_USE,
|
||||
UNUSED_UNSAFE, PATH_STATEMENTS)
|
||||
|
||||
// We have one lint pass defined in this module.
|
||||
self.register_pass(sess, false, box GatherNodeLevels as LintPassObject);
|
||||
|
Loading…
x
Reference in New Issue
Block a user