mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
11 lines
345 B
Text
11 lines
345 B
Text
|
error: using `to_string` in `fmt::Display` implementation might lead to infinite recursion
|
||
|
--> $DIR/to_string_in_display.rs:25:25
|
||
|
|
|
||
|
LL | write!(f, "{}", self.to_string())
|
||
|
| ^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::to-string-in-display` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|