Compiler panic when yielding array element from non-generator #64620
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)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Steps to reproduce:
cargo new --lib crash
.src/lib.rs
with this content:RUST_BACKTRACE=full cargo +nightly build --verbose
to get this output:The text was updated successfully, but these errors were encountered: