]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-renamed-allow.stderr
Handle `#[expect(unfulfilled_lint_expectations)]` with a lint message
[rust.git] / src / test / ui / lint / lint-renamed-allow.stderr
1 error: unused variable: `unused`
2   --> $DIR/lint-renamed-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-renamed-allow.rs:7:8
9    |
10 LL | #[deny(unused)]
11    |        ^^^^^^
12    = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
13
14 error: aborting due to previous error
15