]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-removed-allow.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / lint-removed-allow.stderr
1 error: unused variable: `unused`
2   --> $DIR/lint-removed-allow.rs:8:17
3    |
4 LL | fn main() { let unused = (); }
5    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-removed-allow.rs:7:8
9    |
10 LL | #[deny(unused_variables)]
11    |        ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14