11error: using `self.to_string` in `fmt::Display` implementation will cause infinite recursion
2- --> tests/ui/recursive_format_impl.rs:31 :25
2+ --> tests/ui/recursive_format_impl.rs:32 :25
33 |
44LL | write!(f, "{}", self.to_string())
55 | ^^^^^^^^^^^^^^^^
@@ -8,71 +8,71 @@ LL | write!(f, "{}", self.to_string())
88 = help: to override `-D warnings` add `#[allow(clippy::recursive_format_impl)]`
99
1010error: using `self` as `Display` in `impl Display` will cause infinite recursion
11- --> tests/ui/recursive_format_impl.rs:76 :9
11+ --> tests/ui/recursive_format_impl.rs:77 :9
1212 |
1313LL | write!(f, "{}", self)
1414 | ^^^^^^^^^^^^^^^^^^^^^
1515 |
1616 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
1717
1818error: using `self` as `Display` in `impl Display` will cause infinite recursion
19- --> tests/ui/recursive_format_impl.rs:86 :9
19+ --> tests/ui/recursive_format_impl.rs:87 :9
2020 |
2121LL | write!(f, "{}", &self)
2222 | ^^^^^^^^^^^^^^^^^^^^^^
2323 |
2424 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
2525
2626error: using `self` as `Debug` in `impl Debug` will cause infinite recursion
27- --> tests/ui/recursive_format_impl.rs:93 :9
27+ --> tests/ui/recursive_format_impl.rs:94 :9
2828 |
2929LL | write!(f, "{:?}", &self)
3030 | ^^^^^^^^^^^^^^^^^^^^^^^^
3131 |
3232 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
3333
3434error: using `self` as `Display` in `impl Display` will cause infinite recursion
35- --> tests/ui/recursive_format_impl.rs:103 :9
35+ --> tests/ui/recursive_format_impl.rs:104 :9
3636 |
3737LL | write!(f, "{}", &&&self)
3838 | ^^^^^^^^^^^^^^^^^^^^^^^^
3939 |
4040 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
4141
4242error: using `self` as `Display` in `impl Display` will cause infinite recursion
43- --> tests/ui/recursive_format_impl.rs:178 :9
43+ --> tests/ui/recursive_format_impl.rs:179 :9
4444 |
4545LL | write!(f, "{}", &*self)
4646 | ^^^^^^^^^^^^^^^^^^^^^^^
4747 |
4848 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
4949
5050error: using `self` as `Debug` in `impl Debug` will cause infinite recursion
51- --> tests/ui/recursive_format_impl.rs:185 :9
51+ --> tests/ui/recursive_format_impl.rs:186 :9
5252 |
5353LL | write!(f, "{:?}", &*self)
5454 | ^^^^^^^^^^^^^^^^^^^^^^^^^
5555 |
5656 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
5757
5858error: using `self` as `Display` in `impl Display` will cause infinite recursion
59- --> tests/ui/recursive_format_impl.rs:202 :9
59+ --> tests/ui/recursive_format_impl.rs:203 :9
6060 |
6161LL | write!(f, "{}", *self)
6262 | ^^^^^^^^^^^^^^^^^^^^^^
6363 |
6464 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
6565
6666error: using `self` as `Display` in `impl Display` will cause infinite recursion
67- --> tests/ui/recursive_format_impl.rs:219 :9
67+ --> tests/ui/recursive_format_impl.rs:220 :9
6868 |
6969LL | write!(f, "{}", **&&*self)
7070 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7171 |
7272 = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
7373
7474error: using `self` as `Display` in `impl Display` will cause infinite recursion
75- --> tests/ui/recursive_format_impl.rs:236 :9
75+ --> tests/ui/recursive_format_impl.rs:237 :9
7676 |
7777LL | write!(f, "{}", &&**&&*self)
7878 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments