diff options
Diffstat (limited to 'tests/ui/lint/bad-lint-cap2.stderr')
-rw-r--r-- | tests/ui/lint/bad-lint-cap2.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/lint/bad-lint-cap2.stderr b/tests/ui/lint/bad-lint-cap2.stderr new file mode 100644 index 000000000..3f3affe5a --- /dev/null +++ b/tests/ui/lint/bad-lint-cap2.stderr @@ -0,0 +1,15 @@ +error: unused import: `std::option` + --> $DIR/bad-lint-cap2.rs:6:5 + | +LL | use std::option; + | ^^^^^^^^^^^ + | +note: the lint level is defined here + --> $DIR/bad-lint-cap2.rs:4:9 + | +LL | #![deny(warnings)] + | ^^^^^^^^ + = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` + +error: aborting due to previous error + |