rust-clippy/clippy_tests/examples/format.stderr
2017-06-19 22:11:12 +02:00

28 lines
612 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");
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D useless-format` implied by `-D warnings`
error: useless use of `format!`
--> format.rs:15:5
|
15 | format!("{}", arg);
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D useless-format` implied by `-D warnings`
error: aborting due to previous error(s)
To learn more, run the command again with --verbose.