summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/range-inclusive-extra-equals.stderr
blob: d37b6be4fa1134ade45922de815ad8144378ece2 (plain)
1
2
3
4
5
6
7
8
9
10
error: unexpected `=` after inclusive range
  --> $DIR/range-inclusive-extra-equals.rs:7:13
   |
LL |     if let 1..==3 = 1 {}
   |             ^^^^ help: use `..=` instead
   |
   = note: inclusive ranges end with a single equals sign (`..=`)

error: aborting due to previous error