2018-08-08 14:28:26 +02:00
|
|
|
error[E0277]: the trait bound `Error: std::default::Default` is not satisfied
|
2019-12-15 12:08:06 -08:00
|
|
|
--> $DIR/derives-span-Default-struct.rs:12:5
|
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
|
|
|
| ^^^^^^^^ the trait `std::default::Default` is not implemented for `Error`
|
|
|
|
|
|
|
|
|
= note: required by `std::default::Default::default`
|
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`.
|