Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustc does not stop on error. #31804

Closed
KalitaAlexey opened this Issue Feb 21, 2016 · 7 comments

Comments

Projects
None yet
10 participants
@KalitaAlexey
Copy link
Contributor

KalitaAlexey commented Feb 21, 2016

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)
@eddyb

This comment has been minimized.

Copy link
Member

eddyb commented Feb 22, 2016

cc @nrc I think this is actually a feature.

@KalitaAlexey

This comment has been minimized.

Copy link
Contributor Author

KalitaAlexey commented Feb 22, 2016

@eddyb What do you mean by feature? The Compiler does not stop. It spins three cores.

@eddyb

This comment has been minimized.

Copy link
Member

eddyb commented Feb 22, 2016

@KalitaAlexey so it does this in a loop? My bad, I didn't understand.

@arielb1

This comment has been minimized.

Copy link
Contributor

arielb1 commented Mar 1, 2016

We got to fix that in beta.

@arielb1 arielb1 added the I-nominated label Mar 1, 2016

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented Mar 3, 2016

triage: P-high

@dimbleby

This comment has been minimized.

Copy link

dimbleby commented Mar 6, 2016

Introduced by #31555, according to a bisect.

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented Mar 16, 2016

Reassigning to @nrc now that he's back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.