]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/to_string_in_display.stderr
Rollup merge of #84221 - ABouttefeux:generic-arg-elision, r=estebank
[rust.git] / src / tools / clippy / tests / ui / to_string_in_display.stderr
1 error: using `to_string` in `fmt::Display` implementation might lead to infinite recursion
2   --> $DIR/to_string_in_display.rs:25:25
3    |
4 LL |         write!(f, "{}", self.to_string())
5    |                         ^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::to-string-in-display` implied by `-D warnings`
8
9 error: aborting due to previous error
10