]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-31804.rs
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / 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 `}`