Add error propagation test

This commit is contained in:
Lachlan Sneff
2019-04-22 15:53:21 -07:00
parent 14325c975e
commit ff9de181f1
2 changed files with 50 additions and 1 deletions

View File

@ -230,7 +230,7 @@ impl WasmTypeList for Infallible {
unreachable!()
}
fn types() -> &'static [Type] {
unreachable!()
&[]
}
#[allow(non_snake_case)]
unsafe fn call<Rets: WasmTypeList>(