]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/outer-forbid.stderr
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / lint / outer-forbid.stderr
1 error: allow(unused_variables) incompatible with previous forbid
2 --> $DIR/outer-forbid.rs:20:9
3 |
4 LL | #![forbid(unused, non_snake_case)]
5 | ------ `forbid` level set here
6 ...
7 LL | #[allow(unused_variables)]
8 | ^^^^^^^^^^^^^^^^ overruled by previous forbid
9 |
10 note: the lint level is defined here
11 --> $DIR/outer-forbid.rs:18:11
12 |
13 LL | #![forbid(forbidden_lint_groups)]
14 | ^^^^^^^^^^^^^^^^^^^^^
15 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
16 = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
17
18 error: allow(unused) incompatible with previous forbid
19 --> $DIR/outer-forbid.rs:26:9
20 |
21 LL | #![forbid(unused, non_snake_case)]
22 | ------ `forbid` level set here
23 ...
24 LL | #[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
30 error[E0453]: allow(nonstandard_style) incompatible with previous forbid
31 --> $DIR/outer-forbid.rs:30:9
32 |
33 LL | #![forbid(unused, non_snake_case)]
34 | -------------- `forbid` level set here
35 ...
36 LL | #[allow(nonstandard_style)]
37 | ^^^^^^^^^^^^^^^^^ overruled by previous forbid
38
39 error: allow(unused_variables) incompatible with previous forbid
40 --> $DIR/outer-forbid.rs:20:9
41 |
42 LL | #![forbid(unused, non_snake_case)]
43 | ------ `forbid` level set here
44 ...
45 LL | #[allow(unused_variables)]
46 | ^^^^^^^^^^^^^^^^ overruled by previous forbid
47 |
48 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49 = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
50
51 error: aborting due to 4 previous errors
52
53 For more information about this error, try `rustc --explain E0453`.