]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/outer-forbid.stderr
Rollup merge of #106889 - scottmcm:windows-mut, r=cuviper
[rust.git] / tests / 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    = 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
14    |
15 LL | #![forbid(forbidden_lint_groups)]
16    |           ^^^^^^^^^^^^^^^^^^^^^
17
18 error: allow(unused) incompatible with previous forbid
19   --> $DIR/outer-forbid.rs:25: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:29: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: aborting due to 3 previous errors
40
41 For more information about this error, try `rustc --explain E0453`.