2021-12-28 12:27:11 -06:00
|
|
|
error: using `self.to_string` in `fmt::Display` implementation will cause infinite recursion
|
2022-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:31:25
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:75:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:84:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:90:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:99:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:173:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:179:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:195:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:211:9
|
2021-12-28 12:27:11 -06: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-10-02 14:13:22 -05:00
|
|
|
--> $DIR/recursive_format_impl.rs:227:9
|
2021-12-28 12:27:11 -06: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-05 20:39:54 -05:00
|
|
|
error: aborting due to 10 previous errors
|
2021-12-28 12:27:11 -06:00
|
|
|
|