1 error[E0308]: mismatched types
2 --> $DIR/issue-8761.rs:2:9
5 | ^^^^ expected isize, found i64
7 error[E0308]: mismatched types
8 --> $DIR/issue-8761.rs:5:9
11 | ^^^ expected isize, found u8
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0308`.