]>
Commit | Line | Data |
---|---|---|
ea8adc8c XL |
1 | error: useless use of `format!` |
2 | --> $DIR/format.rs:6:5 | |
3 | | | |
4 | 6 | 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 |
9 | error: aborting due to previous error |
10 |