ICE when using a generator borrowing data with feature(nll) #47055
Labels
A-coroutines
Area: Coroutines
A-NLL
Area: Non-lexical lifetimes (NLL)
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.
Hi! Ran into this earlier today when trying out
#![feature(nll)]
on a program which already uses generators.Simplest test case:
Error:
Using
rustc 1.24.0-nightly (77e189cd7 2017-12-28)
Reproduction on playpen: https://play.rust-lang.org/?gist=8973ce56db9aa1731173889ea012b8d9&version=nightly
The text was updated successfully, but these errors were encountered: