2021-01-29 18:06:00 -06:00
|
|
|
error: deny(unused) incompatible with previous forbid
|
|
|
|
--> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13
|
2020-06-15 13:17:35 -05:00
|
|
|
|
|
|
|
|
LL | #![forbid(unused)]
|
|
|
|
| ------ `forbid` level set here
|
|
|
|
LL | #![deny(unused)]
|
2020-11-07 17:14:38 -06:00
|
|
|
| ^^^^^^ overruled by previous forbid
|
2021-01-29 18:06:00 -06:00
|
|
|
|
|
2022-09-18 10:55:36 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
|
2021-01-29 18:06:00 -06:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
|
|
|
|
|
|
|
|
|
LL | #![forbid(forbidden_lint_groups)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2020-06-15 13:17:35 -05:00
|
|
|
|
2021-09-04 06:26:25 -05:00
|
|
|
error: aborting due to previous error
|
2020-06-15 13:17:35 -05:00
|
|
|
|