rust-clippy/tests/ui/format.stderr
2017-10-03 12:07:24 +02:00

20 lines
411 B
Text

error: useless use of `format!`
--> $DIR/format.rs:6:5
|
6 | format!("foo");
| ^^^^^^^^^^^^^^^
|
= note: `-D useless-format` implied by `-D warnings`
error: useless use of `format!`
--> $DIR/format.rs:8:5
|
8 | format!("{}", "foo");
| ^^^^^^^^^^^^^^^^^^^^^
error: useless use of `format!`
--> $DIR/format.rs:15:5
|
15 | format!("{}", arg);
| ^^^^^^^^^^^^^^^^^^^