2017-05-17 07:19:44 -05:00
|
|
|
error: useless use of `format!`
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/format.rs:6:5
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
6 | format!("foo");
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D useless-format` implied by `-D warnings`
|
|
|
|
|
2017-09-29 11:36:03 -05:00
|
|
|
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);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|