diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/removing-extern-crate.fixed | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/removing-extern-crate.fixed b/src/test/ui/removing-extern-crate.fixed new file mode 100644 index 000000000..8dbd0395b --- /dev/null +++ b/src/test/ui/removing-extern-crate.fixed @@ -0,0 +1,16 @@ +// edition:2018 +// aux-build:removing-extern-crate.rs +// run-rustfix +// check-pass + +#![warn(rust_2018_idioms)] + + //~ WARNING unused extern crate + //~ WARNING unused extern crate + +mod another { + //~ WARNING unused extern crate + //~ WARNING unused extern crate +} + +fn main() {} |