rust-clippy/tests/ui/unknown_clippy_lints.stderr

70 lines
2.1 KiB
Text
Raw Normal View History

error: unknown lint: `clippy::All`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:3:10
|
LL | #![allow(clippy::All)]
| ^^^^^^^^^^^ help: did you mean: `clippy::all`
|
= note: `-D unknown-lints` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unknown_lints)]`
2023-05-21 10:12:12 +00:00
error: unknown lint: `clippy::CMP_OWNED`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:4:9
|
2023-05-21 10:12:12 +00:00
LL | #![warn(clippy::CMP_OWNED)]
| ^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::cmp_owned`
error: unknown lint: `clippy::if_not_els`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:7:8
2018-11-02 11:58:16 +00:00
|
2018-12-27 15:57:55 +00:00
LL | #[warn(clippy::if_not_els)]
2019-12-27 11:41:26 +00:00
| ^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::if_not_else`
error: unknown lint: `clippy::UNNecsaRy_cAst`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:8:8
2019-12-27 11:41:26 +00:00
|
LL | #[warn(clippy::UNNecsaRy_cAst)]
| ^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unnecessary_cast`
error: unknown lint: `clippy::useles_transute`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:9:8
2019-12-27 11:41:26 +00:00
|
LL | #[warn(clippy::useles_transute)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::useless_transmute`
error: unknown lint: `clippy::dead_cod`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:11:8
2019-12-27 11:41:26 +00:00
|
LL | #[warn(clippy::dead_cod)]
| ^^^^^^^^^^^^^^^^
|
help: a lint with a similar name exists in `rustc` lints
|
LL | #[warn(dead_code)]
| ~~~~~~~~~
2019-12-27 11:41:26 +00:00
error: unknown lint: `clippy::unused_colle`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:13:8
2019-12-27 11:41:26 +00:00
|
LL | #[warn(clippy::unused_colle)]
| ^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unused_self`
error: unknown lint: `clippy::const_static_lifetim`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:15:8
2019-12-27 11:41:26 +00:00
|
LL | #[warn(clippy::const_static_lifetim)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::redundant_static_lifetimes`
error: unknown lint: `clippy::missing_docs`
2024-02-17 12:16:29 +00:00
--> tests/ui/unknown_clippy_lints.rs:17:8
|
LL | #[warn(clippy::missing_docs)]
| ^^^^^^^^^^^^^^^^^^^^
|
help: a lint with a similar name exists in `rustc` lints
|
LL | #[warn(missing_docs)]
| ~~~~~~~~~~~~
error: aborting due to 9 previous errors