rust/tests/ui/lint/lint-forbid-attr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
732 B
Plaintext
Raw Normal View History

error[E0453]: allow(deprecated) incompatible with previous forbid
2018-12-25 09:56:47 -06:00
--> $DIR/lint-forbid-attr.rs:3:9
|
2018-02-22 18:42:32 -06:00
LL | #![forbid(deprecated)]
| ---------- `forbid` level set here
2022-06-08 13:07:59 -05:00
LL |
2018-02-22 18:42:32 -06:00
LL | #[allow(deprecated)]
| ^^^^^^^^^^ overruled by previous forbid
error[E0453]: allow(deprecated) incompatible with previous forbid
2020-01-08 11:02:10 -06:00
--> $DIR/lint-forbid-attr.rs:3:9
|
LL | #![forbid(deprecated)]
| ---------- `forbid` level set here
2022-06-08 13:07:59 -05:00
LL |
2020-01-08 11:02:10 -06:00
LL | #[allow(deprecated)]
| ^^^^^^^^^^ overruled by previous forbid
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 11:02:10 -06:00
error: aborting due to 2 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0453`.