]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derives/derives-span-Hash-enum-struct-variant.stderr
New upstream version 1.56.0~beta.4+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`
b7449926 9 |
94222f64
XL
10note: required by a bound in `std::hash::Hash::hash`
11 --> $SRC_DIR/core/src/hash/mod.rs:LL:COL
74b04a01 12 |
94222f64
XL
13LL | fn hash<H: Hasher>(&self, state: &mut H);
14 | ^ required by this bound in `std::hash::Hash::hash`
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`.