]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/format.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / format.stderr
CommitLineData
ea8adc8c
XL
1error: useless use of `format!`
2 --> $DIR/format.rs:6:5
3 |
46 | format!("foo");
0531ce1d 5 | ^^^^^^^^^^^^^^^ help: consider using .to_string(): `"foo".to_string()`
ea8adc8c
XL
6 |
7 = note: `-D useless-format` implied by `-D warnings`
8
2c00a5a8
XL
9error: aborting due to previous error
10