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

Endless Loop of Error Messages when parsing in Beta and Nightly Compiler #32052

Closed
CryZe opened this issue Mar 4, 2016 · 1 comment
Closed

Comments

@CryZe
Copy link
Contributor

CryZe commented Mar 4, 2016

I just encountered an infinite loop of error messages when compiling this simple code:

pub fn do_stuff() {
    a -= 
}

PlayPen Link (Warning: will most likely crash your browser)

The error messages I get are:

src\lib.rs:3:1: 3:2 error: unexpected token: `<eof>`
src\lib.rs:3 }
             ^
src\lib.rs:3:1: 3:2 error: unexpected token: `<eof>`
src\lib.rs:3 }
             ^
src\lib.rs:3:1: 3:2 error: unexpected token: `<eof>`
src\lib.rs:3 }
             ^
src\lib.rs:3:1: 3:2 error: unexpected token: `<eof>`
src\lib.rs:3 }
             ^

Meta

$ rustc --version --verbose
rustc 1.9.0-nightly (e91f889 2016-03-03)
binary: rustc
commit-hash: e91f889
commit-date: 2016-03-03
host: x86_64-pc-windows-gnu
release: 1.9.0-nightly

@CryZe
Copy link
Contributor Author

CryZe commented Mar 4, 2016

This seems to be a duplicate of #31804, closing this.

@CryZe CryZe closed this as completed Mar 4, 2016
@CryZe CryZe changed the title Endless Loop or Error Messages when parsing in Beta and Nightly Compiler Endless Loop or Error Messages when parsing in Beta and Nightly Compilerf Mar 4, 2016
@CryZe CryZe changed the title Endless Loop or Error Messages when parsing in Beta and Nightly Compilerf Endless Loop of Error Messages when parsing in Beta and Nightly Compiler Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant