]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/outer-forbid.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / lint / outer-forbid.stderr
1 error[E0453]: allow(unused_variables) overruled by outer forbid(unused)
2   --> $DIR/outer-forbid.rs:19:9
3    |
4 LL | #![forbid(unused, non_snake_case)]
5    |           ------ `forbid` level set here
6 LL | 
7 LL | #[allow(unused_variables)] //~ ERROR overruled
8    |         ^^^^^^^^^^^^^^^^ overruled by previous forbid
9
10 error[E0453]: allow(unused) overruled by outer forbid(unused)
11   --> $DIR/outer-forbid.rs:22:9
12    |
13 LL | #![forbid(unused, non_snake_case)]
14    |           ------ `forbid` level set here
15 ...
16 LL | #[allow(unused)] //~ ERROR overruled
17    |         ^^^^^^ overruled by previous forbid
18
19 error[E0453]: allow(nonstandard_style) overruled by outer forbid(non_snake_case)
20   --> $DIR/outer-forbid.rs:25:9
21    |
22 LL | #![forbid(unused, non_snake_case)]
23    |                   -------------- `forbid` level set here
24 ...
25 LL | #[allow(nonstandard_style)] //~ ERROR overruled
26    |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid
27
28 error: aborting due to 3 previous errors
29
30 For more information about this error, try `rustc --explain E0453`.