fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: expected one of `.`, `;`, `?`, `else`, or an operator, found `}` 2 --> $DIR/issue-60075.rs:6:10 3 | 4LL | }); 5 | ^ expected one of `.`, `;`, `?`, `else`, or an operator here 6 7error: expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found `;` 8 --> $DIR/issue-60075.rs:6:11 9 | 10LL | fn qux() -> Option<usize> { 11 | - unclosed delimiter 12LL | let _ = if true { 13LL | }); 14 | ^ help: `}` may belong here 15 16error: expected identifier, found `;` 17 --> $DIR/issue-60075.rs:6:11 18 | 19LL | }); 20 | ^ expected identifier 21 22error: missing `fn`, `type`, or `const` for trait-item declaration 23 --> $DIR/issue-60075.rs:6:12 24 | 25LL | }); 26 | ____________^ 27LL | | 28LL | | 29LL | | 30LL | | 31LL | | Some(4) 32 | |________^ missing `fn`, `type`, or `const` 33 34error: aborting due to 4 previous errors 35