11 lines
358 B
Plaintext
11 lines
358 B
Plaintext
error: `to_string` applied to a type that implements `Display` in `println!` args
|
|
--> $DIR/to_string_in_format_args_incremental.rs:8:21
|
|
|
|
|
LL | println!("{}", s.to_string());
|
|
| ^^^^^^^^^^^^ help: remove this
|
|
|
|
|
= note: `-D clippy::to-string-in-format-args` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|