]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-renamed-cmdline.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-renamed-cmdline.stderr
CommitLineData
b7449926
XL
1warning: 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
dfeec247
XL
5warning: 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
9warning: 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
b7449926 13error: unused variable: `unused`
0731742a 14 --> $DIR/lint-renamed-cmdline.rs:8:17
b7449926
XL
15 |
16LL | fn main() { let unused = (); }
ba9703b0 17 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
b7449926 18 |
74b04a01 19note: the lint level is defined here
0731742a 20 --> $DIR/lint-renamed-cmdline.rs:7:8
b7449926
XL
21 |
22LL | #[deny(unused)]
23 | ^^^^^^
416331ca 24 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
b7449926 25
17df50a5 26error: aborting due to previous error; 3 warnings emitted
b7449926 27