fork/rust

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

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

master
1.1 KiB31 linesraw
1warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
2   |
3   = help: use the new name `bare_trait_objects`
4   = note: requested on the command line with `-D bare_trait_object`
5   = note: `#[warn(renamed_and_removed_lints)]` on by default
6
7warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
8   |
9   = help: use the new name `bare_trait_objects`
10   = note: requested on the command line with `-D bare_trait_object`
11
12warning: lint `bare_trait_object` has been renamed to `bare_trait_objects`
13   |
14   = help: use the new name `bare_trait_objects`
15   = note: requested on the command line with `-D bare_trait_object`
16
17error: unused variable: `unused`
18  --> $DIR/lint-renamed-cmdline.rs:9:17
19   |
20LL | fn main() { let unused = (); }
21   |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
22   |
23note: the lint level is defined here
24  --> $DIR/lint-renamed-cmdline.rs:8:8
25   |
26LL | #[deny(unused)]
27   |        ^^^^^^
28   = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
29
30error: aborting due to previous error; 3 warnings emitted
31