2017-05-17 12:19:44 +00:00
|
|
|
error: useless use of `format!`
|
2017-05-17 15:51:35 +00:00
|
|
|
--> format.rs:6:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
6 | format!("foo");
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D useless-format` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: useless use of `format!`
|
2017-05-17 15:51:35 +00:00
|
|
|
--> format.rs:8:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
8 | format!("{}", "foo");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D useless-format` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: useless use of `format!`
|
2017-05-17 15:51:35 +00:00
|
|
|
--> format.rs:15:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
15 | format!("{}", arg);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D useless-format` implied by `-D warnings`
|
|
|
|
|
2017-05-26 07:21:54 +00:00
|
|
|
error: aborting due to previous error(s)
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|