Better error message for unsupported "C" abi args
This commit is contained in:
parent
7c510c0661
commit
39fbea8c1b
@ -49,7 +49,7 @@ fn get_pass_mode<'a, 'tcx: 'a>(
|
||||
PassMode::ByVal(ret_ty)
|
||||
} else {
|
||||
if abi == Abi::C {
|
||||
unimplemented!("Non scalars are not yet supported for \"C\" abi");
|
||||
unimpl!("Non scalars are not yet supported for \"C\" abi ({:?}) is_return: {:?}", ty, is_return);
|
||||
}
|
||||
PassMode::ByRef
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user