1 error: allow(unused_variables) incompatible with previous forbid
2 --> $DIR/outer-forbid.rs:20:9
4 LL | #![forbid(unused, non_snake_case)]
5 | ------ `forbid` level set here
7 LL | #[allow(unused_variables)]
8 | ^^^^^^^^^^^^^^^^ overruled by previous forbid
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>
12 note: the lint level is defined here
13 --> $DIR/outer-forbid.rs:18:11
15 LL | #![forbid(forbidden_lint_groups)]
16 | ^^^^^^^^^^^^^^^^^^^^^
18 error: allow(unused) incompatible with previous forbid
19 --> $DIR/outer-forbid.rs:25:9
21 LL | #![forbid(unused, non_snake_case)]
22 | ------ `forbid` level set here
25 | ^^^^^^ overruled by previous forbid
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>
30 error[E0453]: allow(nonstandard_style) incompatible with previous forbid
31 --> $DIR/outer-forbid.rs:29:9
33 LL | #![forbid(unused, non_snake_case)]
34 | -------------- `forbid` level set here
36 LL | #[allow(nonstandard_style)]
37 | ^^^^^^^^^^^^^^^^^ overruled by previous forbid
39 error: aborting due to 3 previous errors
41 For more information about this error, try `rustc --explain E0453`.