-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macro expansion broken on latest nightly (2024-06-13) #3078
Comments
+1, on same embedded platform (if that helps), on a brand new project created from the ch32-hal-template at https://github.com/ch32-rs/ch32-hal-template my
I haven't yet looked into what language change may have caused this. |
this broke due to rust-lang/rust#117861 rust-lang/rust#113169 it's fixed in git main since #2574 so i'm going to close this. Next crates.io release will include the fix. |
And add the requested target. See ch32-rs/ch32-hal#29 and embassy-rs/embassy#3078
… to 2024-06-12 because of embassy-rs/embassy#3078
I am developing a RISCV project based on embassy and ch32-hal, I have update my machine and installed the latest nightly version. Unfortunately the embassy macro expansion seems to have broken, and the error is not that helpful.
Now i get this error:
I have tried to use the latest git version (not the latest published on crates.io), but the result doesn't change
Having glazed at the changelog here it seems they have worked on impl traits and opaque types... In the weekend I could have some time to check on the issue... Let me know
I have tried to use the latest git version (not the latest published on crates.io), the error changes, and adding
#![feature(impl_trait_in_assoc_type)]
to my project, and now it compiles just fine
The text was updated successfully, but these errors were encountered: