dead code: remove GuestErrorConversion, it now is never called

This commit is contained in:
Pat Hickey
2021-03-23 22:14:49 -07:00
parent 4a9ce90d34
commit f74b0291ad
2 changed files with 0 additions and 17 deletions

View File

@@ -196,11 +196,6 @@ impl Names {
}
}
pub fn guest_error_conversion_method(&self, tref: &TypeRef) -> Ident {
let suffix = Self::snake_typename(tref);
format_ident!("into_{}", suffix)
}
pub fn user_error_conversion_method(&self, user_type: &UserErrorType) -> Ident {
let abi_type = Self::snake_typename(&user_type.abi_type());
format_ident!(