mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 05:42:47 +00:00
24 lines
492 B
Text
24 lines
492 B
Text
error: useless use of `format!`
|
|
--> format.rs:6:5
|
|
|
|
|
6 | format!("foo");
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D useless-format` implied by `-D warnings`
|
|
|
|
error: useless use of `format!`
|
|
--> format.rs:8:5
|
|
|
|
|
8 | format!("{}", "foo");
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: useless use of `format!`
|
|
--> format.rs:15:5
|
|
|
|
|
15 | format!("{}", arg);
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|