mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
22 lines
648 B
Plaintext
22 lines
648 B
Plaintext
error[E0453]: allow(deprecated) incompatible with previous forbid
|
|
--> $DIR/lint-forbid-attr.rs:3:9
|
|
|
|
|
LL | #![forbid(deprecated)]
|
|
| ---------- `forbid` level set here
|
|
LL |
|
|
LL | #[allow(deprecated)]
|
|
| ^^^^^^^^^^ overruled by previous forbid
|
|
|
|
error[E0453]: allow(deprecated) incompatible with previous forbid
|
|
--> $DIR/lint-forbid-attr.rs:3:9
|
|
|
|
|
LL | #![forbid(deprecated)]
|
|
| ---------- `forbid` level set here
|
|
LL |
|
|
LL | #[allow(deprecated)]
|
|
| ^^^^^^^^^^ overruled by previous forbid
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0453`.
|