mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 22:02:55 +00:00
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
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
|
|
|