fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.2 KiB37 linesraw
1error: range-to patterns with `...` are not allowed
2  --> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:17:9
3   |
4LL |         ...X => {}
5   |         ^^^ help: use `..=` instead
6
7error: range-to patterns with `...` are not allowed
8  --> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:18:9
9   |
10LL |         ...0 => {}
11   |         ^^^ help: use `..=` instead
12
13error: range-to patterns with `...` are not allowed
14  --> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:19:9
15   |
16LL |         ...'a' => {}
17   |         ^^^ help: use `..=` instead
18
19error: range-to patterns with `...` are not allowed
20  --> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:20:9
21   |
22LL |         ...0.0f32 => {}
23   |         ^^^ help: use `..=` instead
24
25error: range-to patterns with `...` are not allowed
26  --> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:27:17
27   |
28LL |             let ...$e;
29   |                 ^^^ help: use `..=` instead
30...
31LL |     mac!(0);
32   |     -------- in this macro invocation
33   |
34   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
35
36error: aborting due to 5 previous errors
37