summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-31804.rs
blob: d056b77cf098958021e7133baffa2f05b623d2b8 (plain)
1
2
3
4
5
6
// Test that error recovery in the parser to an EOF does not give an infinite
// spew of errors.

fn main() {
    let
} //~ ERROR expected pattern, found `}`