]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derives/derives-span-Hash-enum-struct-variant.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Hash-enum-struct-variant.stderr
CommitLineData
1b1a35ee 1error[E0277]: the trait bound `Error: Hash` is not satisfied
ba9703b0 2 --> $DIR/derives-span-Hash-enum-struct-variant.rs:9:6
b7449926 3 |
136023e0
XL
4LL | #[derive(Hash)]
5 | ---- in this derive macro expansion
6...
532ac7d7 7LL | x: Error
1b1a35ee 8 | ^^^^^^^^ the trait `Hash` is not implemented for `Error`
e1599b0c 9 |
3dfed10e 10 ::: $SRC_DIR/core/src/hash/mod.rs:LL:COL
b7449926 11 |
e1599b0c
XL
12LL | fn hash<H: Hasher>(&self, state: &mut H);
13 | - required by this bound in `std::hash::Hash::hash`
74b04a01 14 |
17df50a5 15 = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0277`.