1
Fork 0
rust/src/test/ui/issues/issue-21160.stderr

17 lines
584 B
Text
Raw Normal View History

error[E0277]: the trait bound `Bar: Hash` is not satisfied
--> $DIR/issue-21160.rs:8:12
2018-07-15 14:11:54 -07:00
|
LL | struct Foo(Bar);
| ^^^ the trait `Hash` is not implemented for `Bar`
|
2020-06-11 21:31:49 -05:00
::: $SRC_DIR/core/src/hash/mod.rs:LL:COL
2018-07-15 14:11:54 -07:00
|
LL | fn hash<H: Hasher>(&self, state: &mut H);
| - required by this bound in `std::hash::Hash::hash`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
2018-07-15 14:11:54 -07:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.