Skip to content

Commit

Permalink
Allow unused extern crate again
Browse files Browse the repository at this point in the history
This is a partial revert of rust-lang#42588. There is a usability concern
reported in rust-lang#44294 that was not considered in the discussion of the PR,
so I would like to back this out of 1.21. As is, I think users would
have a worse and more confusing experience with this lint enabled by
default. We can re-enabled once there are better diagnostics or the case
in rust-lang#44294 does not trigger the lint.
  • Loading branch information
dtolnay authored and nikomatsakis committed Sep 28, 2017
1 parent 3c3cd3f commit 658134a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare_lint! {

declare_lint! {
pub UNUSED_EXTERN_CRATES,
Warn,
Allow,
"extern crates that are never used"
}

Expand Down

0 comments on commit 658134a

Please sign in to comment.