fork/rust

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

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

master
1.5 KiB41 linesraw
1error: allow(unused_variables) incompatible with previous forbid
2  --> $DIR/outer-forbid.rs:20:9
3   |
4LL | #![forbid(unused, non_snake_case)]
5   |           ------ `forbid` level set here
6...
7LL | #[allow(unused_variables)]
8   |         ^^^^^^^^^^^^^^^^ overruled by previous forbid
9   |
10   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
12note: the lint level is defined here
13  --> $DIR/outer-forbid.rs:18:11
14   |
15LL | #![forbid(forbidden_lint_groups)]
16   |           ^^^^^^^^^^^^^^^^^^^^^
17
18error: allow(unused) incompatible with previous forbid
19  --> $DIR/outer-forbid.rs:25:9
20   |
21LL | #![forbid(unused, non_snake_case)]
22   |           ------ `forbid` level set here
23...
24LL | #[allow(unused)]
25   |         ^^^^^^ overruled by previous forbid
26   |
27   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
28   = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
29
30error[E0453]: allow(nonstandard_style) incompatible with previous forbid
31  --> $DIR/outer-forbid.rs:29:9
32   |
33LL | #![forbid(unused, non_snake_case)]
34   |                   -------------- `forbid` level set here
35...
36LL | #[allow(nonstandard_style)]
37   |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid
38
39error: aborting due to 3 previous errors
40
41For more information about this error, try `rustc --explain E0453`.