]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-21160.stderr
Allow combining -Cprofile-generate and -Cpanic=unwind when targeting
[rust.git] / src / test / ui / issues / issue-21160.stderr
1 error[E0277]: the trait bound `Bar: Hash` is not satisfied
2   --> $DIR/issue-21160.rs:8:12
3    |
4 LL | struct Foo(Bar);
5    |            ^^^ the trait `Hash` is not implemented for `Bar`
6    | 
7   ::: $SRC_DIR/core/src/hash/mod.rs:LL:COL
8    |
9 LL |     fn hash<H: Hasher>(&self, state: &mut H);
10    |             - required by this bound in `std::hash::Hash::hash`
11    |
12    = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.