mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
warning: allow(unused_variables) incompatible with previous forbid
|
|
--> $DIR/forbid-group-member.rs:8:9
|
|
|
|
|
LL | #![forbid(unused)]
|
|
| ------ `forbid` level set here
|
|
LL |
|
|
LL | #[allow(unused_variables)]
|
|
| ^^^^^^^^^^^^^^^^ overruled by previous forbid
|
|
|
|
|
= 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>
|
|
= note: `#[warn(forbidden_lint_groups)]` on by default
|
|
|
|
warning: allow(unused_variables) incompatible with previous forbid
|
|
--> $DIR/forbid-group-member.rs:8:9
|
|
|
|
|
LL | #![forbid(unused)]
|
|
| ------ `forbid` level set here
|
|
LL |
|
|
LL | #[allow(unused_variables)]
|
|
| ^^^^^^^^^^^^^^^^ overruled by previous forbid
|
|
|
|
|
= 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>
|
|
|
|
warning: allow(unused_variables) incompatible with previous forbid
|
|
--> $DIR/forbid-group-member.rs:8:9
|
|
|
|
|
LL | #![forbid(unused)]
|
|
| ------ `forbid` level set here
|
|
LL |
|
|
LL | #[allow(unused_variables)]
|
|
| ^^^^^^^^^^^^^^^^ overruled by previous forbid
|
|
|
|
|
= 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>
|
|
|
|
warning: 3 warnings emitted
|
|
|