]> git.lizzy.rs Git - rust.git/blob - tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-match-arrow.stderr
Use `rust_2018` instead of `!is_rust_2015`
[rust.git] / tests / ui / half-open-range-patterns / half-open-range-pats-inclusive-match-arrow.stderr
1 error: unexpected `=>` after open range
2   --> $DIR/half-open-range-pats-inclusive-match-arrow.rs:5:11
3    |
4 LL |         74..=> {},
5    |           ^^^
6    |
7 help: add a space between the pattern and `=>`
8    |
9 LL |         74.. => {},
10    |             +
11
12 error: expected one of `=>`, `if`, or `|`, found `>`
13   --> $DIR/half-open-range-pats-inclusive-match-arrow.rs:5:14
14    |
15 LL |         74..=> {},
16    |              ^ expected one of `=>`, `if`, or `|`
17
18 error: aborting due to 2 previous errors
19