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

StableMIR crashes due to CoroutineWitness #50

Closed
celinval opened this issue Nov 7, 2023 · 1 comment
Closed

StableMIR crashes due to CoroutineWitness #50

celinval opened this issue Nov 7, 2023 · 1 comment

Comments

@celinval
Copy link
Contributor

celinval commented Nov 7, 2023

To reproduce, run test tests/codegen/debuginfo-generic-closure-env-names.rs, Iterate over all local items, and retrieve each local variable TyKind.

@ouz-a
Copy link

ouz-a commented Nov 10, 2023

Opened pr for this

bors added a commit to rust-lang-ci/rust that referenced this issue Nov 14, 2023
Add CoroutineWitness to covered types in smir

Previously we accepted `CouroutineWitness` as `unreachable!` but rust-lang/project-stable-mir#50 shows it is indeed reachable, this pr fixes that and covers `CouroutineWitness`
github-actions bot pushed a commit to rust-lang/miri that referenced this issue Nov 15, 2023
Add CoroutineWitness to covered types in smir

Previously we accepted `CouroutineWitness` as `unreachable!` but rust-lang/project-stable-mir#50 shows it is indeed reachable, this pr fixes that and covers `CouroutineWitness`
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

No branches or pull requests

2 participants