| error: expected one of `.`, `;`, `?`, `else`, or an operator, found `}` |
| --> $DIR/issue-60075.rs:6:10 |
| | |
| LL | }); |
| | ^ expected one of `.`, `;`, `?`, `else`, or an operator |
| |
| error: expected one of `async`, `const`, `crate`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `;` |
| --> $DIR/issue-60075.rs:6:11 |
| | |
| LL | fn qux() -> Option<usize> { |
| | - unclosed delimiter |
| LL | let _ = if true { |
| LL | }); |
| | ^ help: `}` may belong here |
| |
| error: expected identifier, found `;` |
| --> $DIR/issue-60075.rs:6:11 |
| | |
| LL | }); |
| | ^ expected identifier |
| |
| error: aborting due to 3 previous errors |
| |