2023-06-17 15:40:05 -05:00
|
|
|
error: `to_string` applied to a type that implements `Display` in `println!` args
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/to_string_in_format_args_incremental.rs:7:21
|
2023-06-17 15:40:05 -05:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|