-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2587: Absolute import of `Result` in derive r=syrusakbary a=ureeves # Description When aliasing `Result` deriving `WasmerEnv` is not possible. See a minimal example of the problem below. ```rust use wasmer::WasmerEnv; struct Error; type Result<T> = core::result::Result<T, Error>; #[derive(WasmerEnv, Clone)] struct MyEnv; // error[E0107] this type alias takes 1 generic // argument but 2 generic arguments were supplied ``` # Review - [x] Add a short description of the change to the CHANGELOG.md file Co-authored-by: Eduardo Leegwater Simões <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters