mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
21 lines
411 B
Plaintext
21 lines
411 B
Plaintext
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);
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|