]> git.lizzy.rs Git - rust.git/blob - tests/ui/format.stderr
remove all //~ from tests
[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: lint level defined here
8  --> $DIR/format.rs:3:9
9   |
10 3 | #![deny(useless_format)]
11   |         ^^^^^^^^^^^^^^
12
13 error: useless use of `format!`
14  --> $DIR/format.rs:8:5
15   |
16 8 |     format!("{}", "foo");
17   |     ^^^^^^^^^^^^^^^^^^^^^
18
19 error: useless use of `format!`
20   --> $DIR/format.rs:15:5
21    |
22 15 |     format!("{}", arg);
23    |     ^^^^^^^^^^^^^^^^^^^
24
25 error: aborting due to 3 previous errors
26