diff options
Diffstat (limited to 'tests/ui/imports/unused.stderr')
-rw-r--r-- | tests/ui/imports/unused.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/imports/unused.stderr b/tests/ui/imports/unused.stderr new file mode 100644 index 000000000..08128d794 --- /dev/null +++ b/tests/ui/imports/unused.stderr @@ -0,0 +1,15 @@ +error: unused import: `super::f` + --> $DIR/unused.rs:7:24 + | +LL | pub(super) use super::f; + | ^^^^^^^^ + | +note: the lint level is defined here + --> $DIR/unused.rs:1:9 + | +LL | #![deny(unused)] + | ^^^^^^ + = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` + +error: aborting due to previous error + |