2020-01-11 05:49:43 +00:00
|
|
|
error: range-to patterns with `...` are not allowed
|
2022-09-24 15:22:04 +00:00
|
|
|
--> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:15:9
|
2020-01-11 05:49:43 +00:00
|
|
|
|
|
|
|
|
LL | ...X => {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
2022-09-24 15:22:04 +00:00
|
|
|
--> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:16:9
|
2020-01-11 05:49:43 +00:00
|
|
|
|
|
|
|
|
LL | ...0 => {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
2022-09-24 15:22:04 +00:00
|
|
|
--> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:17:9
|
2020-01-11 05:49:43 +00:00
|
|
|
|
|
|
|
|
LL | ...'a' => {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
2022-09-24 15:22:04 +00:00
|
|
|
--> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:18:9
|
2020-01-11 05:49:43 +00:00
|
|
|
|
|
|
|
|
LL | ...0.0f32 => {}
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
|
|
|
|
error: range-to patterns with `...` are not allowed
|
2022-09-24 15:22:04 +00:00
|
|
|
--> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:25:17
|
2020-01-11 05:49:43 +00:00
|
|
|
|
|
|
|
|
LL | let ...$e;
|
|
|
|
| ^^^ help: use `..=` instead
|
|
|
|
...
|
|
|
|
LL | mac!(0);
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-01-11 05:49:43 +00:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|