fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: unexpected token: `...` 2 --> $DIR/range_inclusive_dotdotdot.rs:6:12 3 | 4LL | return ...1; 5 | ^^^ 6 | 7help: use `..` for an exclusive range 8 | 9LL | return ..1; 10 | ^^ 11help: or `..=` for an inclusive range 12 | 13LL | return ..=1; 14 | ^^^ 15 16error: unexpected token: `...` 17 --> $DIR/range_inclusive_dotdotdot.rs:12:13 18 | 19LL | let x = ...0; 20 | ^^^ 21 | 22help: use `..` for an exclusive range 23 | 24LL | let x = ..0; 25 | ^^ 26help: or `..=` for an inclusive range 27 | 28LL | let x = ..=0; 29 | ^^^ 30 31error: unexpected token: `...` 32 --> $DIR/range_inclusive_dotdotdot.rs:16:14 33 | 34LL | let x = 5...5; 35 | ^^^ 36 | 37help: use `..` for an exclusive range 38 | 39LL | let x = 5..5; 40 | ^^ 41help: or `..=` for an inclusive range 42 | 43LL | let x = 5..=5; 44 | ^^^ 45 46error: unexpected token: `...` 47 --> $DIR/range_inclusive_dotdotdot.rs:20:15 48 | 49LL | for _ in 0...1 {} 50 | ^^^ 51 | 52help: use `..` for an exclusive range 53 | 54LL | for _ in 0..1 {} 55 | ^^ 56help: or `..=` for an inclusive range 57 | 58LL | for _ in 0..=1 {} 59 | ^^^ 60 61error: aborting due to 4 previous errors 62