rust/src/test/ui/derives/derives-span-Hash-enum-struct-variant.stderr

15 lines
512 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
--> $DIR/derives-span-Hash-enum-struct-variant.rs:13: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`
|
::: $SRC_DIR/libcore/hash/mod.rs:LL:COL
2018-08-08 07:28:26 -05:00
|
LL | fn hash<H: Hasher>(&self, state: &mut H);
| - required by this bound in `std::hash::Hash::hash`
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.