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