-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Flood of unexpected token: <eof> errors triggered by foo(|_|) #32505
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.P-lowLow priorityLow priorityregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.P-lowLow priorityLow priorityregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The easiest way to reproduce the error is to compile the following code:
After I try
rustc report.rs -o testI get the following output: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