]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impossible_range.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / impossible_range.stderr
1 error[E0586]: inclusive range with no end
2   --> $DIR/impossible_range.rs:18:8
3    |
4 LL |     ..=; //~ERROR inclusive range with no end
5    |        ^
6    |
7    = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
8
9 error[E0586]: inclusive range with no end
10   --> $DIR/impossible_range.rs:25:9
11    |
12 LL |     0..=; //~ERROR inclusive range with no end
13    |         ^
14    |
15    = help: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0586`.