]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-21160.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-21160.stderr
CommitLineData
1b1a35ee 1error[E0277]: the trait bound `Bar: Hash` is not satisfied
ba9703b0 2 --> $DIR/issue-21160.rs:8:12
8faf50e0
XL
3 |
4LL | 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
9LL | 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
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.