summaryrefslogtreecommitdiffstats
path: root/src/test/ui/union/union-const-pat.stderr
blob: dc87f4de5219f445a8f25fabd598bcaab18fb592 (plain)
1
2
3
4
5
6
7
8
error: cannot use unions in constant patterns
  --> $DIR/union-const-pat.rs:10:9
   |
LL |         C => {}
   |         ^

error: aborting due to previous error