Skip to content

Commit

Permalink
Remove unused_extern_crate and unused_result from the unused li…
Browse files Browse the repository at this point in the history
…nt group

These lints are allow by default because they are sometimes too sensitive.
  • Loading branch information
ftxqxd committed Oct 30, 2014
1 parent 15dd90b commit a0ee7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/lint/context.rs
Expand Up @@ -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);
Expand Down

0 comments on commit a0ee7c9

Please sign in to comment.