]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0277]: the trait bound `Bar: Hash` is not satisfied |
ba9703b0 | 2 | --> $DIR/issue-21160.rs:8:12 |
8faf50e0 XL |
3 | | |
4 | LL | struct Foo(Bar); | |
1b1a35ee | 5 | | ^^^ the trait `Hash` is not implemented for `Bar` |
e1599b0c | 6 | | |
3dfed10e | 7 | ::: $SRC_DIR/core/src/hash/mod.rs:LL:COL |
8faf50e0 | 8 | | |
e1599b0c XL |
9 | LL | fn hash<H: Hasher>(&self, state: &mut H); |
10 | | - required by this bound in `std::hash::Hash::hash` | |
74b04a01 XL |
11 | | |
12 | = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
8faf50e0 XL |
13 | |
14 | error: aborting due to previous error | |
15 | ||
16 | For more information about this error, try `rustc --explain E0277`. |