2021-12-28 18:27:11 +00:00
|
|
|
error: using `self.to_string` in `fmt::Display` implementation will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:30:25
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", self.to_string())
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::recursive-format-impl` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:74:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:83:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", &self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Debug` in `impl Debug` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:89:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{:?}", &self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:98:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", &&&self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:172:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", &*self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Debug` in `impl Debug` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:178:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{:?}", &*self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:194:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", *self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:210:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", **&&*self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2022-05-29 01:57:15 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:226:9
|
2021-12-28 18:27:11 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", &&**&&*self)
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
2022-05-06 01:39:54 +00:00
|
|
|
error: aborting due to 10 previous errors
|
2021-12-28 18:27:11 +00:00
|
|
|
|