Skip to content

Commit

Permalink
fix(macros): use full path to Result to avoid issues with type aliases (
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored May 27, 2023
1 parent 000104b commit 27c5f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tauri-macros/src/command/wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub fn wrapper(attributes: TokenStream, item: TokenStream) -> TokenStream {
#[allow(unreachable_code, clippy::diverging_sub_expression)]
const _: () = if false {
trait AsyncCommandMustReturnResult {}
impl<A, B> AsyncCommandMustReturnResult for Result<A, B> {}
impl<A, B> AsyncCommandMustReturnResult for ::std::result::Result<A, B> {}
let _check: #return_type = unreachable!();
let _: &dyn AsyncCommandMustReturnResult = &_check;
};
Expand Down

0 comments on commit 27c5f36

Please sign in to comment.