``` rust fn main() { println!("Hello, world!"); let } ``` It outputs ``` src/main.rs:4:1: 4:2 error: unexpected token: `<eof>` src/main.rs:4 } ^ src/main.rs:4:1: 4:2 error: unexpected token: `<eof>` src/main.rs:4 } ^ ``` again and again. It does not stop. ``` rustc 1.8.0-nightly (57c357d89 2016-02-16) ```
Activity
eddyb commentedon Feb 22, 2016
cc @nrc I think this is actually a feature.
KalitaAlexey commentedon Feb 22, 2016
@eddyb What do you mean by feature? The Compiler does not stop. It spins three cores.
eddyb commentedon Feb 22, 2016
@KalitaAlexey so it does this in a loop? My bad, I didn't understand.
arielb1 commentedon Mar 1, 2016
We got to fix that in beta.
nikomatsakis commentedon Mar 3, 2016
triage: P-high
dimbleby commentedon Mar 6, 2016
Introduced by #31555, according to a bisect.
nikomatsakis commentedon Mar 16, 2016
Reassigning to @nrc now that he's back
Don't loop forever on error recovery with EOF