summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/match_ice.stderr
blob: 342d94ed31c87678075dd459c3a77e16f553aba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: to use a constant of type `S` in a pattern, `S` must be annotated with `#[derive(PartialEq, Eq)]`
  --> $DIR/match_ice.rs:11:9
   |
LL |         C => {}
   |         ^
   |
   = note: the traits must be derived, manual `impl`s are not sufficient
   = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details

error: aborting due to previous error