1 error[E0308]: mismatched types
2 --> $DIR/issue-13359.rs:6:9
4 LL | foo(1*(1 as isize));
5 | ^^^^^^^^^^^^^^ expected i16, found isize
7 error[E0308]: mismatched types
8 --> $DIR/issue-13359.rs:10:9
10 LL | bar(1*(1 as usize));
11 | ^^^^^^^^^^^^^^ expected u32, found usize
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0308`.