]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-Eq-enum.stderr
Add test for promotability in `let`
[rust.git] / src / test / ui / derives / derives-span-Eq-enum.stderr
1 error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
2   --> $DIR/derives-span-Eq-enum.rs:9:6
3    |
4 LL |      Error
5    |      ^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`
6    |
7    = note: required by `std::cmp::AssertParamIsEq`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.