1 error[E0277]: the trait bound `Bar: std::hash::Hash` is not satisfied
2 --> $DIR/issue-21160.rs:9:12
5 | ^^^ the trait `std::hash::Hash` is not implemented for `Bar`
7 ::: $SRC_DIR/libcore/hash/mod.rs:LL:COL
9 LL | fn hash<H: Hasher>(&self, state: &mut H);
10 | - required by this bound in `std::hash::Hash::hash`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0277`.