]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-renamed-cmdline.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[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 warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
6    |
7    = note: requested on the command line with `-D bare_trait_object`
8
9 warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
10    |
11    = note: requested on the command line with `-D bare_trait_object`
12
13 error: unused variable: `unused`
14   --> $DIR/lint-renamed-cmdline.rs:8:17
15    |
16 LL | fn main() { let unused = (); }
17    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
18    |
19 note: the lint level is defined here
20   --> $DIR/lint-renamed-cmdline.rs:7:8
21    |
22 LL | #[deny(unused)]
23    |        ^^^^^^
24    = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
25
26 error: aborting due to previous error; 3 warnings emitted
27