]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/closure-return-syntax.stderr
Auto merge of #65013 - petertodd:2019-maybeuninit-debug, r=sfackler
[rust.git] / src / test / ui / parser / closure-return-syntax.stderr
1 error: expected one of `!`, `(`, `+`, `::`, `<`, or `{`, found `22`
2   --> $DIR/closure-return-syntax.rs:5:23
3    |
4 LL |     let x = || -> i32 22;
5    |                       ^^ expected one of `!`, `(`, `+`, `::`, `<`, or `{`
6
7 error: aborting due to previous error
8