]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-21160.stderr
New upstream version 1.60.0+dfsg1
[rustc.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 | #[derive(Hash)]
5 | ---- in this derive macro expansion
6 LL | struct Foo(Bar);
7 | ^^^ the trait `Hash` is not implemented for `Bar`
8 |
9 = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0277`.