mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
error: `clippy::restriction` is not meant to be enabled as a group
|
|
--> tests/ui/blanket_clippy_restriction_lints.rs:6:9
|
|
|
|
|
LL | #![warn(clippy::restriction)]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: enable the restriction lints you need individually
|
|
= note: `-D clippy::blanket-clippy-restriction-lints` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::blanket_clippy_restriction_lints)]`
|
|
|
|
error: `clippy::restriction` is not meant to be enabled as a group
|
|
--> tests/ui/blanket_clippy_restriction_lints.rs:8:9
|
|
|
|
|
LL | #![deny(clippy::restriction)]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: enable the restriction lints you need individually
|
|
|
|
error: `clippy::restriction` is not meant to be enabled as a group
|
|
--> tests/ui/blanket_clippy_restriction_lints.rs:10:11
|
|
|
|
|
LL | #![forbid(clippy::restriction)]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: enable the restriction lints you need individually
|
|
|
|
error: `clippy::restriction` is not meant to be enabled as a group
|
|
|
|
|
= note: because of the command line `--warn clippy::restriction`
|
|
= help: enable the restriction lints you need individually
|
|
|
|
error: aborting due to 4 previous errors
|
|
|