]> git.proxmox.com Git - rustc.git/blob - src/test/ui/derives/derives-span-Hash-enum-struct-variant.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Hash-enum-struct-variant.stderr
1 error[E0277]: the trait bound `Error: Hash` is not satisfied
2 --> $DIR/derives-span-Hash-enum-struct-variant.rs:9:6
3 |
4 LL | #[derive(Hash)]
5 | ---- in this derive macro expansion
6 ...
7 LL | x: Error
8 | ^^^^^^^^ the trait `Hash` is not implemented for `Error`
9 |
10 = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.