Closed
Description
The easiest way to reproduce the error is to compile the following code:
pub fn test() {
foo(|_|)
}
After I try rustc report.rs -o test
I get the following output:
report.rs:3:1: 3:2 error: unexpected token: `<eof>`
report.rs:3 }
^
report.rs:3:1: 3:2 error: unexpected token: `<eof>`
report.rs:3 }
^
report.rs:3:1: 3:2 error: unexpected token: `<eof>`
report.rs:3 }
^
(ad infinitum...)
I expect to get the single line error output, not the flood.
Meta
rustc 1.9.0-dev (10bdd80 2016-03-18)
binary: rustc
commit-hash: 10bdd80
commit-date: 2016-03-18
host: x86_64-unknown-linux-gnu
release: 1.9.0-dev