Skip to content
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

Project doesn't build anymore on newer compiler versions #9

Closed
diondokter opened this issue Sep 27, 2022 · 0 comments · Fixed by #10
Closed

Project doesn't build anymore on newer compiler versions #9

diondokter opened this issue Sep 27, 2022 · 0 comments · Fixed by #10

Comments

@diondokter
Copy link
Collaborator

We're getting:

error: opaque type's hidden type cannot be another opaque type from the same scope
  --> bootloader/src/main.rs:34:1
   |
34 | #[embassy::main]
   | ^^^^^^^^^^^^^^^^ one of the two opaque types used here has to be outside its defining scope
   |
note: opaque type whose hidden type is being assigned
  --> bootloader/src/main.rs:34:1
   |
34 | #[embassy::main]
   | ^^^^^^^^^^^^^^^^
note: opaque type being used as hidden type
  --> bootloader/src/main.rs:34:1
   |
34 | #[embassy::main]
   | ^^^^^^^^^^^^^^^^
   = note: this error originates in the attribute macro `::embassy::task` (in Nightly builds, run with -Z macro-backtrace for more info)

Probably need to update to a newer version of Embassy

@hdoordt hdoordt linked a pull request Sep 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant