]> git.lizzy.rs Git - rust.git/blob - tests/ui/format.stderr
Fix regression with `format!`
[rust.git] / tests / ui / format.stderr
1 error: useless use of `format!`
2  --> $DIR/format.rs:6:5
3   |
4 6 |     format!("foo");
5   |     ^^^^^^^^^^^^^^^
6   |
7   = note: `-D useless-format` implied by `-D warnings`
8
9 error: useless use of `format!`
10  --> $DIR/format.rs:8:5
11   |
12 8 |     format!("{}", "foo");
13   |     ^^^^^^^^^^^^^^^^^^^^^
14
15 error: useless use of `format!`
16   --> $DIR/format.rs:15:5
17    |
18 15 |     format!("{}", arg);
19    |     ^^^^^^^^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22