2020-11-07 23:14:38 +00:00
|
|
|
error[E0453]: allow(deprecated) incompatible with previous forbid
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/lint-forbid-attr.rs:3:9
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | #![forbid(deprecated)]
|
2017-12-10 19:47:55 +00:00
|
|
|
| ---------- `forbid` level set here
|
2022-06-08 18:07:59 +00:00
|
|
|
LL |
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | #[allow(deprecated)]
|
2017-12-10 19:47:55 +00:00
|
|
|
| ^^^^^^^^^^ overruled by previous forbid
|
|
|
|
|
2020-11-07 23:14:38 +00:00
|
|
|
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
|
|
|
|
2021-02-28 18:24:46 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0453`.
|