]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #53479 - joshtriplett:underscore-means-unused, r=eddyb
authorbors <bors@rust-lang.org>
Thu, 30 Aug 2018 00:07:15 +0000 (00:07 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 Aug 2018 00:07:15 +0000 (00:07 +0000)
Don't emit "unused extern crate" warnings for `extern crate foo as _;`

When importing a crate and renaming it to an underscore-prefixed name,
suppress "unused extern crate" warnings (but not idiom lints).


Trivial merge