ICE using min_type_alias_impl_trait with generators #87142
Labels
A-coroutines
Area: Coroutines
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-coroutines
`#![feature(coroutines)]`
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
playground link
I haven't gotten it to error without nightly features, so I believe it has to do with the generated enum for the Generator.
Meta
rustc --version --verbose
:Error output
Backtrace
As an aside, if one gets rid of the
Box
, this fails (kind of expected, though the error message could be improved) withThe text was updated successfully, but these errors were encountered: