]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/outer-forbid.stderr
Rollup merge of #70140 - Nemo157:result-flatten, r=Amanieu
[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:9:9
3    |
4 LL | #![forbid(unused, non_snake_case)]
5    |           ------ `forbid` level set here
6 LL | 
7 LL | #[allow(unused_variables)]
8    |         ^^^^^^^^^^^^^^^^ overruled by previous forbid
9
10 error[E0453]: allow(unused) overruled by outer forbid(unused)
11   --> $DIR/outer-forbid.rs:14:9
12    |
13 LL | #![forbid(unused, non_snake_case)]
14    |           ------ `forbid` level set here
15 ...
16 LL | #[allow(unused)]
17    |         ^^^^^^ overruled by previous forbid
18
19 error[E0453]: allow(nonstandard_style) overruled by outer forbid(non_snake_case)
20   --> $DIR/outer-forbid.rs:19:9
21    |
22 LL | #![forbid(unused, non_snake_case)]
23    |                   -------------- `forbid` level set here
24 ...
25 LL | #[allow(nonstandard_style)]
26    |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid
27
28 error[E0453]: allow(unused_variables) overruled by outer forbid(unused)
29   --> $DIR/outer-forbid.rs:9:9
30    |
31 LL | #![forbid(unused, non_snake_case)]
32    |           ------ `forbid` level set here
33 LL | 
34 LL | #[allow(unused_variables)]
35    |         ^^^^^^^^^^^^^^^^ overruled by previous forbid
36
37 error[E0453]: allow(unused) overruled by outer forbid(unused)
38   --> $DIR/outer-forbid.rs:14:9
39    |
40 LL | #![forbid(unused, non_snake_case)]
41    |           ------ `forbid` level set here
42 ...
43 LL | #[allow(unused)]
44    |         ^^^^^^ overruled by previous forbid
45
46 error[E0453]: allow(nonstandard_style) overruled by outer forbid(non_snake_case)
47   --> $DIR/outer-forbid.rs:19:9
48    |
49 LL | #![forbid(unused, non_snake_case)]
50    |                   -------------- `forbid` level set here
51 ...
52 LL | #[allow(nonstandard_style)]
53    |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid
54
55 error[E0453]: allow(unused_variables) overruled by outer forbid(unused)
56   --> $DIR/outer-forbid.rs:9:9
57    |
58 LL | #![forbid(unused, non_snake_case)]
59    |           ------ `forbid` level set here
60 LL | 
61 LL | #[allow(unused_variables)]
62    |         ^^^^^^^^^^^^^^^^ overruled by previous forbid
63
64 error[E0453]: allow(unused) overruled by outer forbid(unused)
65   --> $DIR/outer-forbid.rs:14:9
66    |
67 LL | #![forbid(unused, non_snake_case)]
68    |           ------ `forbid` level set here
69 ...
70 LL | #[allow(unused)]
71    |         ^^^^^^ overruled by previous forbid
72
73 error[E0453]: allow(nonstandard_style) overruled by outer forbid(non_snake_case)
74   --> $DIR/outer-forbid.rs:19:9
75    |
76 LL | #![forbid(unused, non_snake_case)]
77    |                   -------------- `forbid` level set here
78 ...
79 LL | #[allow(nonstandard_style)]
80    |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid
81
82 error: aborting due to 9 previous errors
83
84 For more information about this error, try `rustc --explain E0453`.