summary refs log tree commit diff
path: root/src/test/ui/issue-13359.stderr
blob: 77f10be982b0110921b877070e695b36a31b75ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0308]: mismatched types
  --> $DIR/issue-13359.rs:16:9
   |
LL |     foo(1*(1 as isize));
   |         ^^^^^^^^^^^^^^ expected i16, found isize

error[E0308]: mismatched types
  --> $DIR/issue-13359.rs:20:9
   |
LL |     bar(1*(1 as usize));
   |         ^^^^^^^^^^^^^^ expected u32, found usize

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.