summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/pat-ref-enum.stderr
blob: a3bce3372646fe14507f48f4bb9a52dba2de9b46 (plain)
1
2
3
4
5
6
7
8
error: expected identifier, found enum pattern
  --> $DIR/pat-ref-enum.rs:3:11
   |
LL |       ref Some(i) => {}
   |           ^^^^

error: aborting due to previous error