]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-21160.stderr
Update unsuspicious file list
[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 3 |
136023e0
XL
4LL | #[derive(Hash)]
5 | ---- in this derive macro expansion
8faf50e0 6LL | struct Foo(Bar);
1b1a35ee 7 | ^^^ the trait `Hash` is not implemented for `Bar`
8faf50e0 8 |
17df50a5 9 = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
04454e1e
FG
10help: consider annotating `Bar` with `#[derive(Hash)]`
11 |
12LL | #[derive(Hash)]
13 |
8faf50e0
XL
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.