rust/src/test/ui/lint/outer-forbid.stderr

31 lines
974 B
Plaintext
Raw Normal View History

error[E0453]: allow(unused_variables) incompatible with previous forbid
2020-01-08 11:02:10 -06:00
--> $DIR/outer-forbid.rs:19:9
|
LL | #![forbid(unused, non_snake_case)]
| ------ `forbid` level set here
LL |
LL | #[allow(unused_variables)]
| ^^^^^^^^^^^^^^^^ overruled by previous forbid
error[E0453]: allow(unused) incompatible with previous forbid
--> $DIR/outer-forbid.rs:22:9
2020-01-08 11:02:10 -06:00
|
LL | #![forbid(unused, non_snake_case)]
| ------ `forbid` level set here
...
LL | #[allow(unused)]
| ^^^^^^ overruled by previous forbid
error[E0453]: allow(nonstandard_style) incompatible with previous forbid
--> $DIR/outer-forbid.rs:25:9
2020-01-08 11:02:10 -06:00
|
LL | #![forbid(unused, non_snake_case)]
| -------------- `forbid` level set here
...
LL | #[allow(nonstandard_style)]
| ^^^^^^^^^^^^^^^^^ overruled by previous forbid
error: aborting due to 3 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0453`.