fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
981 B30 linesraw
1error[E0453]: allow(unused_variables) overruled by outer forbid(unused)
2  --> $DIR/outer-forbid.rs:9:9
3   |
4LL | #![forbid(unused, non_snake_case)]
5   |           ------ `forbid` level set here
6LL | 
7LL | #[allow(unused_variables)]
8   |         ^^^^^^^^^^^^^^^^ overruled by previous forbid
9
10error[E0453]: allow(unused) overruled by outer forbid(unused)
11  --> $DIR/outer-forbid.rs:12:9
12   |
13LL | #![forbid(unused, non_snake_case)]
14   |           ------ `forbid` level set here
15...
16LL | #[allow(unused)]
17   |         ^^^^^^ overruled by previous forbid
18
19error[E0453]: allow(nonstandard_style) overruled by outer forbid(non_snake_case)
20  --> $DIR/outer-forbid.rs:15:9
21   |
22LL | #![forbid(unused, non_snake_case)]
23   |                   -------------- `forbid` level set here
24...
25LL | #[allow(nonstandard_style)]
26   |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid
27
28error: aborting due to 3 previous errors
29
30For more information about this error, try `rustc --explain E0453`.