summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/patkind-litrange-no-expr.stderr
blob: eb1ee7e45673d6856d2ea08af2f40e82638fa7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: arbitrary expressions aren't allowed in patterns
  --> $DIR/patkind-litrange-no-expr.rs:20:13
   |
LL |     Arith = 1 + 1,
   |             ^^^^^

error: arbitrary expressions aren't allowed in patterns
  --> $DIR/patkind-litrange-no-expr.rs:20:13
   |
LL |     Arith = 1 + 1,
   |             ^^^^^

error: aborting due to 2 previous errors