2019-04-20 05:31:38 -05:00
|
|
|
error: expected one of `.`, `;`, `?`, `else`, or an operator, found `}`
|
|
|
|
--> $DIR/issue-60075.rs:6:10
|
|
|
|
|
|
|
|
|
LL | });
|
|
|
|
| ^ expected one of `.`, `;`, `?`, `else`, or an operator here
|
|
|
|
|
|
|
|
error: expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found `;`
|
|
|
|
--> $DIR/issue-60075.rs:6:11
|
|
|
|
|
|
|
|
|
LL | fn qux() -> Option<usize> {
|
|
|
|
| - unclosed delimiter
|
|
|
|
LL | let _ = if true {
|
|
|
|
LL | });
|
2019-04-16 17:26:41 -05:00
|
|
|
| ^ help: `}` may belong here
|
2019-04-20 05:31:38 -05:00
|
|
|
|
|
|
|
error: expected identifier, found `;`
|
|
|
|
--> $DIR/issue-60075.rs:6:11
|
|
|
|
|
|
|
|
|
LL | });
|
|
|
|
| ^ expected identifier
|
|
|
|
|
2019-10-25 20:30:02 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2019-04-20 05:31:38 -05:00
|
|
|
|