summaryrefslogtreecommitdiffstats
path: root/tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-match-arrow.stderr
blob: cb7f998df7a5b1471191ee7c46381b2662caf061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: unexpected `>` after inclusive range
  --> $DIR/half-open-range-pats-inclusive-match-arrow.rs:5:14
   |
LL |         74..=> {},
   |           ---^
   |           |
   |           this is parsed as an inclusive range `..=`
   |
help: add a space between the pattern and `=>`
   |
LL |         74.. => {},
   |             +

error: aborting due to previous error