From c326efcc345a47b879223b54eac7d262e1d0e013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Strug?= <114988195+mstrug-rdx@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:50:01 +0100 Subject: [PATCH] Error fix proposal for missing type path to returned Result in Object macro (#1897) --- uniffi_macros/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniffi_macros/src/object.rs b/uniffi_macros/src/object.rs index 3b09ec6609..b63fb0ab7e 100644 --- a/uniffi_macros/src/object.rs +++ b/uniffi_macros/src/object.rs @@ -139,7 +139,7 @@ pub(crate) fn interface_impl(ident: &Ident, udl_mode: bool) -> TokenStream { unsafe #lower_return_impl_spec { type ReturnType = >::FfiType; - fn lower_return(obj: Self) -> Result { + fn lower_return(obj: Self) -> ::std::result::Result { Ok(>::lower(::std::sync::Arc::new(obj))) }