]> git.lizzy.rs Git - rust.git/blob - tests/ui/range/range-pattern-out-of-bounds-issue-68972.stderr
Rollup merge of #103800 - danielhenrymantilla:stabilize-pin-macro, r=dtolnay
[rust.git] / tests / ui / range / range-pattern-out-of-bounds-issue-68972.stderr
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`
8   --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:8:15
9    |
10 LL |         251..=256 => {}
11    |               ^^^ this value doesn't fit in `u8` whose maximum value is `255`
12
13 error: literal out of range for `u8`
14   --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:5:14
15    |
16 LL |         251..257 => {}
17    |              ^^^ this value doesn't fit in `u8` whose maximum value is `255`
18
19 error: literal out of range for `u8`
20   --> $DIR/range-pattern-out-of-bounds-issue-68972.rs:8:15
21    |
22 LL |         251..=256 => {}
23    |               ^^^ this value doesn't fit in `u8` whose maximum value is `255`
24
25 error: aborting due to 4 previous errors
26