fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
735 B23 linesraw
1warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
2  --> $DIR/lint-renamed.rs:1:8
3   |
4LL | #[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
9error: unused variable: `unused`
10  --> $DIR/lint-renamed.rs:4:17
11   |
12LL | fn main() { let unused = (); }
13   |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
14   |
15note: the lint level is defined here
16  --> $DIR/lint-renamed.rs:3:8
17   |
18LL | #[deny(unused)]
19   |        ^^^^^^
20   = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
21
22error: aborting due to previous error; 1 warning emitted
23