mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
42 lines
1.7 KiB
Plaintext
42 lines
1.7 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>
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
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: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
warning: 3 warnings emitted
|
|
|