12 lines
450 B
Plaintext
12 lines
450 B
Plaintext
error: `to_string` applied to a type that implements `Display` in `println!` args
|
|
--> tests/ui/to_string_in_format_args_incremental.rs:7:21
|
|
|
|
|
LL | println!("{}", s.to_string());
|
|
| ^^^^^^^^^^^^ help: remove this
|
|
|
|
|
= note: `-D clippy::to-string-in-format-args` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::to_string_in_format_args)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|