2023-06-17 20:40:05 +00:00
|
|
|
error: `to_string` applied to a type that implements `Display` in `println!` args
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/to_string_in_format_args_incremental.rs:7:21
|
2023-06-17 20:40:05 +00:00
|
|
|
|
|
|
|
|
LL | println!("{}", s.to_string());
|
|
|
|
| ^^^^^^^^^^^^ help: remove this
|
|
|
|
|
|
|
|
|
= note: `-D clippy::to-string-in-format-args` implied by `-D warnings`
|
2023-09-07 21:43:06 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::to_string_in_format_args)]`
|
2023-06-17 20:40:05 +00:00
|
|
|
|
2023-12-01 18:06:03 +01:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-17 20:40:05 +00:00
|
|
|
|