2022-02-26 13:26:21 +00:00
|
|
|
error: using `self.to_string` in `fmt::Display` implementation will cause infinite recursion
|
2022-10-06 07:44:38 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:31:25
|
2022-02-26 13:26:21 +00:00
|
|
|
|
|
|
|
|
LL | write!(f, "{}", self.to_string())
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::recursive-format-impl` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::recursive_format_impl)]`
|
2022-02-26 13:26:21 +00:00
|
|
|
|
|
|
|
error: using `self` as `Display` in `impl Display` will cause infinite recursion
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:77:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:87:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:94:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:104:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:179:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:186:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:203:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:220:9
|
2022-02-26 13:26:21 +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
|
2023-08-24 19:32:12 +00:00
|
|
|
--> $DIR/recursive_format_impl.rs:237:9
|
2022-02-26 13:26:21 +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-21 11:24:00 +00:00
|
|
|
error: aborting due to 10 previous errors
|
2022-02-26 13:26:21 +00:00
|
|
|
|