fix for 2018 doesn't remove unnecessary extern crate statements
Closed this issue · 3 comments
doxxx commented
Not sure if this belongs in the preparation fixes or the post-preparation fixes, but extern crate foo
statements are not removed even though AFAIK they are now superfluous.
mati865 commented
If you add #![warn(rust_2018_idioms)]
rustfix will replace some extern crate
(but not all of them).
doxxx commented
Thanks, I have a lot of warnings now. 👍
alexcrichton commented
Indeed @mati865's suggestion should do the trick!