-
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
internal compiler error: no entry found for key #71297
Comments
Panic happens here: rust/src/librustc_mir_build/build/mod.rs Lines 342 to 344 in 52fa23a
|
I think that or-patterns should be disallowed in arguments to begin with. |
@estebank hm, so at least in principle it seems quite reasonable -- e.g., I might want something like I don't see why we'd want such an arbitrary restriction; can you elaborate? |
@Mark-Simulacrum you're right, I hadn't thought of the possibility of different enough variants having the same type binding. |
Assigning |
…tern, r=oli-obk Fix ICE for broken or-pattern in async fn closes rust-lang#71297
I'm seeing an internal compiler error on the following input (found by fuzz-rustc):
The text was updated successfully, but these errors were encountered: