1 error: unexpected token: `...`
2 --> $DIR/range_inclusive_dotdotdot.rs:18:12
4 LL | return ...1; //~ERROR unexpected token: `...`
6 help: use `..` for an exclusive range
8 LL | return ..1; //~ERROR unexpected token: `...`
10 help: or `..=` for an inclusive range
12 LL | return ..=1; //~ERROR unexpected token: `...`
15 error: unexpected token: `...`
16 --> $DIR/range_inclusive_dotdotdot.rs:24:13
18 LL | let x = ...0; //~ERROR unexpected token: `...`
20 help: use `..` for an exclusive range
22 LL | let x = ..0; //~ERROR unexpected token: `...`
24 help: or `..=` for an inclusive range
26 LL | let x = ..=0; //~ERROR unexpected token: `...`
29 error: unexpected token: `...`
30 --> $DIR/range_inclusive_dotdotdot.rs:28:14
32 LL | let x = 5...5; //~ERROR unexpected token: `...`
34 help: use `..` for an exclusive range
36 LL | let x = 5..5; //~ERROR unexpected token: `...`
38 help: or `..=` for an inclusive range
40 LL | let x = 5..=5; //~ERROR unexpected token: `...`
43 error: unexpected token: `...`
44 --> $DIR/range_inclusive_dotdotdot.rs:32:15
46 LL | for _ in 0...1 {} //~ERROR unexpected token: `...`
48 help: use `..` for an exclusive range
50 LL | for _ in 0..1 {} //~ERROR unexpected token: `...`
52 help: or `..=` for an inclusive range
54 LL | for _ in 0..=1 {} //~ERROR unexpected token: `...`
57 error: aborting due to 4 previous errors