rust-clippy/tests/ui/unknown_clippy_lints.stderr

53 lines
1.7 KiB
Text
Raw Normal View History

2018-09-10 15:52:44 +00:00
error: unknown clippy lint: clippy::if_not_els
2019-12-27 11:41:26 +00:00
--> $DIR/unknown_clippy_lints.rs:9: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`
2018-11-02 11:58:16 +00:00
|
= note: `-D clippy::unknown-clippy-lints` implied by `-D warnings`
2019-12-27 11:41:26 +00:00
error: unknown clippy lint: clippy::UNNecsaRy_cAst
--> $DIR/unknown_clippy_lints.rs:10:8
|
LL | #[warn(clippy::UNNecsaRy_cAst)]
| ^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unnecessary_cast`
error: unknown clippy lint: clippy::useles_transute
--> $DIR/unknown_clippy_lints.rs:11:8
|
LL | #[warn(clippy::useles_transute)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::useless_transmute`
error: unknown clippy lint: clippy::dead_cod
--> $DIR/unknown_clippy_lints.rs:13:8
|
LL | #[warn(clippy::dead_cod)]
| ^^^^^^^^^^^^^^^^ help: did you mean: `clippy::drop_copy`
error: unknown clippy lint: clippy::unused_colle
--> $DIR/unknown_clippy_lints.rs:15:8
|
LL | #[warn(clippy::unused_colle)]
| ^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unused_self`
error: unknown clippy lint: clippy::const_static_lifetim
--> $DIR/unknown_clippy_lints.rs:17:8
|
LL | #[warn(clippy::const_static_lifetim)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::redundant_static_lifetimes`
2018-09-10 15:52:44 +00:00
error: unknown clippy lint: clippy::All
2019-12-27 11:41:26 +00:00
--> $DIR/unknown_clippy_lints.rs:5:10
2018-11-02 11:58:16 +00:00
|
2018-12-27 15:57:55 +00:00
LL | #![allow(clippy::All)]
2019-12-27 11:41:26 +00:00
| ^^^^^^^^^^^ help: lowercase the lint name: `clippy::all`
error: unknown clippy lint: clippy::CMP_NAN
--> $DIR/unknown_clippy_lints.rs:6:9
|
LL | #![warn(clippy::CMP_NAN)]
| ^^^^^^^^^^^^^^^ help: lowercase the lint name: `clippy::cmp_nan`
2019-12-27 11:41:26 +00:00
error: aborting due to 8 previous errors