]> git.proxmox.com Git - rustc.git/blame - tests/ui/range/range-pattern-out-of-bounds-issue-68972.stderr
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / ui / range / range-pattern-out-of-bounds-issue-68972.stderr
CommitLineData
9c376795
FG
1error: literal out of range for `u8`
2 --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:5:14
3 |
4LL | 251..257 => {}
5 | ^^^ this value doesn't fit in `u8` whose maximum value is `255`
6
7error: literal out of range for `u8`
353b0b11 8 --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:7:15
9c376795
FG
9 |
10LL | 251..=256 => {}
11 | ^^^ this value doesn't fit in `u8` whose maximum value is `255`
12
353b0b11 13error: aborting due to 2 previous errors
9c376795 14