rust/tests/ui/format.stderr

21 lines
411 B
Plaintext
Raw Normal View History

error: useless use of `format!`
2017-08-01 10:54:21 -05:00
--> $DIR/format.rs:6:5
|
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);
| ^^^^^^^^^^^^^^^^^^^