rust/tests/ui/to_string_in_display.stderr

11 lines
345 B
Plaintext
Raw Normal View History

error: using `to_string` in `fmt::Display` implementation might lead to infinite recursion
2020-07-22 07:44:53 -05:00
--> $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