]> git.lizzy.rs Git - rust.git/blob - tests/ui/impossible_range.stderr
add tests for 107090
[rust.git] / tests / ui / impossible_range.stderr
1 error[E0586]: inclusive range with no end
2   --> $DIR/impossible_range.rs:11:5
3    |
4 LL |     ..=;
5    |     ^^^ help: use `..` instead
6    |
7    = note: 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:18:6
11    |
12 LL |     0..=;
13    |      ^^^ help: use `..` instead
14    |
15    = note: 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`.