mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
20 lines
712 B
Text
20 lines
712 B
Text
error: non-standard lint formulation
|
|
--> tests/ui-internal/check_formulation.rs:23:5
|
|
|
|
|
LL | /// Check for lint formulations that are correct
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider using `Checks for`
|
|
= note: `-D clippy::almost-standard-lint-formulation` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::almost_standard_lint_formulation)]`
|
|
|
|
error: non-standard lint formulation
|
|
--> tests/ui-internal/check_formulation.rs:33:5
|
|
|
|
|
LL | /// Detects uses of incorrect formulations
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider using `Checks for`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|