-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Typedef'd enums cannot reference variants #31355
Comments
Tycheon
added a commit
to Tycheon/servo
that referenced
this issue
Feb 18, 2016
Change typedef codegen to export the underlying enum itself, rather than an alias. Works around rust-lang/rust#31355
jdm
pushed a commit
to jdm/servo
that referenced
this issue
Mar 23, 2016
Change typedef codegen to export the underlying enum itself, rather than an alias. Works around rust-lang/rust#31355
bors-servo
pushed a commit
to servo/servo
that referenced
this issue
Mar 24, 2016
Fix #9511. Export webidl enums using "pub use". Change typedef codegen to export the underlying enum itself, rather than an alias. Works around rust-lang/rust#31355 Rebase of #9691. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10152) <!-- Reviewable:end -->
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Oct 1, 2019
…(from jdm:9511-rebase); r=nox Change typedef codegen to export the underlying enum itself, rather than an alias. Works around rust-lang/rust#31355 Rebase of #9691. Source-Repo: https://github.com/servo/servo Source-Revision: edcf24fd4d39e86548717ecdfe36e2f1df30daac UltraBlame original commit: 00562e792f94bec284362eb890efac88f6ce30c2
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Oct 1, 2019
…(from jdm:9511-rebase); r=nox Change typedef codegen to export the underlying enum itself, rather than an alias. Works around rust-lang/rust#31355 Rebase of #9691. Source-Repo: https://github.com/servo/servo Source-Revision: edcf24fd4d39e86548717ecdfe36e2f1df30daac UltraBlame original commit: 00562e792f94bec284362eb890efac88f6ce30c2
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Oct 1, 2019
…(from jdm:9511-rebase); r=nox Change typedef codegen to export the underlying enum itself, rather than an alias. Works around rust-lang/rust#31355 Rebase of #9691. Source-Repo: https://github.com/servo/servo Source-Revision: edcf24fd4d39e86548717ecdfe36e2f1df30daac UltraBlame original commit: 00562e792f94bec284362eb890efac88f6ce30c2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code does not compile:
It produces the following error message:
The text was updated successfully, but these errors were encountered: