]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-renamed-cmdline.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / lint / lint-renamed-cmdline.stderr
1 warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
2    |
3    = note: requested on the command line with `-D bare_trait_object`
4
5 error: unused variable: `unused`
6   --> $DIR/lint-renamed-cmdline.rs:18:17
7    |
8 LL | fn main() { let unused = (); }
9    |                 ^^^^^^ help: consider using `_unused` instead
10    |
11 note: lint level defined here
12   --> $DIR/lint-renamed-cmdline.rs:17:8
13    |
14 LL | #[deny(unused)]
15    |        ^^^^^^
16    = note: #[deny(unused_variables)] implied by #[deny(unused)]
17
18 error: aborting due to previous error
19