]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-21160.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-21160.stderr
1 error[E0277]: the trait bound `Bar: std::hash::Hash` is not satisfied
2 --> $DIR/issue-21160.rs:9:12
3 |
4 LL | struct Foo(Bar);
5 | ^^^ the trait `std::hash::Hash` is not implemented for `Bar`
6 |
7 ::: $SRC_DIR/libcore/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 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.