2018-08-08 14:28:26 +02:00
|
|
|
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
|
2019-12-15 12:08:06 -08:00
|
|
|
--> $DIR/derives-span-Debug-enum-struct-variant.rs:13:6
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | x: Error
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`
|
|
|
|
|
|
|
|
|
= help: the trait `std::fmt::Debug` is not implemented for `Error`
|
|
|
|
= note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
|
|
|
|
= note: required because of the requirements on the impl of `std::fmt::Debug` for `&Error`
|
|
|
|
= note: required for the cast to the object type `dyn std::fmt::Debug`
|
2019-12-16 15:56:47 +02:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|