Skip to content

Commit bc5bd51

Browse files
committed
Make unused-extern-crate warn-by-default
1 parent 93cdf5e commit bc5bd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ declare_lint! {
3030

3131
declare_lint! {
3232
pub UNUSED_EXTERN_CRATES,
33-
Allow,
33+
Warn,
3434
"extern crates that are never used"
3535
}
3636

0 commit comments

Comments
 (0)