mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
16 lines
400 B
Text
16 lines
400 B
Text
error: use of a disallowed/placeholder name `foo`
|
|
--> $DIR/disallowed_names.rs:5:9
|
|
|
|
|
LL | let foo = "bar";
|
|
| ^^^
|
|
|
|
|
= note: `-D clippy::disallowed-names` implied by `-D warnings`
|
|
|
|
error: use of a disallowed/placeholder name `ducks`
|
|
--> $DIR/disallowed_names.rs:7:9
|
|
|
|
|
LL | let ducks = ["quack", "quack"];
|
|
| ^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|