mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 11:33:19 +00:00
17 lines
544 B
Text
17 lines
544 B
Text
error: use of a disallowed/placeholder name `foo`
|
|
--> tests/ui-toml/disallowed_names_append/disallowed_names.rs:5:9
|
|
|
|
|
LL | let foo = "bar";
|
|
| ^^^
|
|
|
|
|
= note: `-D clippy::disallowed-names` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]`
|
|
|
|
error: use of a disallowed/placeholder name `ducks`
|
|
--> tests/ui-toml/disallowed_names_append/disallowed_names.rs:7:9
|
|
|
|
|
LL | let ducks = ["quack", "quack"];
|
|
| ^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|