]> git.lizzy.rs Git - rust.git/blob - src/test/ui/can-begin-expr-check.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / can-begin-expr-check.stderr
1 error: expected one of `.`, `;`, `?`, `}`, or an operator, found `enum`
2   --> $DIR/can-begin-expr-check.rs:29:12
3    |
4 LL |     return enum; //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `enum`
5    |            ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator here
6
7 error: aborting due to previous error
8