mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
24 lines
738 B
Plaintext
24 lines
738 B
Plaintext
error[E0453]: allow(unused) incompatible with previous forbid
|
|
--> $DIR/forbid-member-group.rs:6:9
|
|
|
|
|
LL | #![forbid(unused_variables)]
|
|
| ---------------- `forbid` level set here
|
|
LL |
|
|
LL | #[allow(unused)]
|
|
| ^^^^^^ overruled by previous forbid
|
|
|
|
error[E0453]: allow(unused) incompatible with previous forbid
|
|
--> $DIR/forbid-member-group.rs:6:9
|
|
|
|
|
LL | #![forbid(unused_variables)]
|
|
| ---------------- `forbid` level set here
|
|
LL |
|
|
LL | #[allow(unused)]
|
|
| ^^^^^^ overruled by previous forbid
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0453`.
|