about summary refs log tree commit diff
path: root/tests/ui/loop-match/upvar-scrutinee.stderr
blob: b7a0a90193d70341a2fe4aec2cf2d1e687f0c92f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: invalid match on `#[loop_match]` state
  --> $DIR/upvar-scrutinee.rs:32:23
   |
LL |                 match state {
   |                       ^^^^^
   |
   = note: a local variable must be the scrutinee within a `#[loop_match]`

error: invalid match on `#[loop_match]` state
  --> $DIR/upvar-scrutinee.rs:68:23
   |
LL |                 match state {
   |                       ^^^^^
   |
   = note: a local variable must be the scrutinee within a `#[loop_match]`

error: aborting due to 2 previous errors