rust-clippy/tests/ui/format.stderr

11 lines
262 B
Text
Raw Normal View History

error: useless use of `format!`
2017-08-01 15:54:21 +00:00
--> $DIR/format.rs:6:5
|
6 | format!("foo");
| ^^^^^^^^^^^^^^^ help: consider using .to_string(): `"foo".to_string()`
|
= note: `-D useless-format` implied by `-D warnings`
2018-01-16 16:06:27 +00:00
error: aborting due to previous error