1 error[E0308]: mismatched types
2 --> $DIR/issue-8761.rs:2:9
5 | ^^^^ expected `isize`, found `i64`
7 help: change the type of the numeric literal from `i64` to `isize`
12 error[E0308]: mismatched types
13 --> $DIR/issue-8761.rs:5:9
16 | ^^^ expected `isize`, found `u8`
18 help: change the type of the numeric literal from `u8` to `isize`
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0308`.