ICE in ElaborateDrops with generators #47482
Labels
A-coroutines
Area: Coroutines
C-bug
Category: This is a bug.
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.
Repro: https://play.rust-lang.org/?gist=1cebdab1c712e776f255628e150ad93b&version=nightly
Playground currently panics:
rustc 1.25.0-nightly (79a521bb9 2018-01-15) running on x86_64-unknown-linux-gnu
. My machine also panics,rustc 1.25.0-nightly (e6072a7b3 2018-01-13)
on OSX Yosemite.Without the
yield
, this (naturally) givescannot move out of borrowed content
.Stack trace:
The text was updated successfully, but these errors were encountered: