summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/match_ice.stderr
blob: 699b4a5e200e41311cfaabfdde075b812b89098e (plain)
1
2
3
4
5
6
7
8
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 => {}
   |         ^

error: aborting due to previous error