fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB37 linesraw
1error: range-to patterns with `...` are not allowed
2  --> $DIR/half-open-range-pats-inclusive-dotdotdot-bad-syntax.rs:15: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:16: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:17: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:18: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:25: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 the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
35
36error: aborting due to 5 previous errors
37