rust/tests/ui/parser/issues/issue-31804.rs
2023-01-11 09:32:08 +00:00

7 lines
158 B
Rust

// 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 `}`