]> git.lizzy.rs Git - rust.git/blob - src/test/ui/can-begin-expr-check.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[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:19: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