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