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