]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impossible_range.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[rust.git] / src / test / ui / impossible_range.stderr
1 error[E0586]: inclusive range with no end
2   --> $DIR/impossible_range.rs:8:8
3    |
4 LL |     ..=;
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:15:9
11    |
12 LL |     0..=;
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`.