-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Expose discriminant values in stable_mir #141639
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
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
Uh, I think the job failed due to some rate limits and needs to be restarted? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Can you please add a test for this? Can you please make sure you cover generic and monomorphic code? Thanks!
Added a test for enum discriminant. I'm not sure how to best make tests for coroutines as I only have high level understanding of async/await not of the underlying coroutine mechanism. I would really appreciate some advice what I need to look at to create a test for |
Resolves rust-lang/project-stable-mir#93
Discr
struct to stable mir as stable version of struct with same namediscriminant_for_variant
method toAdtDef
andCoroutineDef