2018-08-08 07:28:26 -05:00
|
|
|
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
|
2020-03-31 20:10:13 -05:00
|
|
|
--> $DIR/derives-span-Hash-enum-struct-variant.rs:9:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | x: Error
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Error`
|
2019-09-04 12:17:59 -05:00
|
|
|
|
|
|
|
|
::: $SRC_DIR/libcore/hash/mod.rs:LL:COL
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-09-04 12:17:59 -05:00
|
|
|
LL | fn hash<H: Hasher>(&self, state: &mut H);
|
|
|
|
| - required by this bound in `std::hash::Hash::hash`
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|