fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
725 B29 linesraw
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
6
7error: non-item in item list
8  --> $DIR/issue-60075.rs:6:11
9   |
10LL | trait T {
11   |         - item list starts here
12...
13LL |         });
14   |           ^ non-item starts here
15...
16LL |     }
17   |     - item list ends here
18
19error: mismatched closing delimiter: `)`
20  --> $DIR/issue-60075.rs:6:10
21   |
22LL |     fn qux() -> Option<usize> {
23   |                               - unclosed delimiter
24LL |         let _ = if true {
25LL |         });
26   |          ^ mismatched closing delimiter
27
28error: aborting due to 3 previous errors
29