]>
Commit | Line | Data |
---|---|---|
9c376795 FG |
1 | error: literal out of range for `u8` |
2 | --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:5:14 | |
3 | | | |
4 | LL | 251..257 => {} | |
5 | | ^^^ this value doesn't fit in `u8` whose maximum value is `255` | |
6 | ||
7 | error: literal out of range for `u8` | |
353b0b11 | 8 | --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:7:15 |
9c376795 FG |
9 | | |
10 | LL | 251..=256 => {} | |
11 | | ^^^ this value doesn't fit in `u8` whose maximum value is `255` | |
12 | ||
353b0b11 | 13 | error: aborting due to 2 previous errors |
9c376795 | 14 |