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

12 lines
400 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
2018-12-25 08:56:47 -07:00
--> $DIR/derives-span-Hash-enum-struct-variant.rs:9:6
2018-08-08 14:28:26 +02:00
|
LL | x: Error //~ ERROR
| ^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Error`
|
= note: required by `std::hash::Hash::hash`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.