]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-31804.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-31804.rs
1 // Test that error recovery in the parser to an EOF does not give an infinite
2 // spew of errors.
3
4 fn main() {
5     let
6 } //~ ERROR expected pattern, found `}`