rust/tests/ui/parser/issues/issue-31804.rs

7 lines
158 B
Rust
Raw Normal View History

2016-03-22 20:24:54 +00:00
// 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 `}`