]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-60075.stderr
Auto merge of #60132 - davidtwco:issue-60075, r=estebank
[rust.git] / src / test / ui / issue-60075.stderr
1 error: expected one of `.`, `;`, `?`, `else`, or an operator, found `}`
2   --> $DIR/issue-60075.rs:6:10
3    |
4 LL |         });
5    |          ^ expected one of `.`, `;`, `?`, `else`, or an operator here
6
7 error: expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found `;`
8   --> $DIR/issue-60075.rs:6:11
9    |
10 LL |     fn qux() -> Option<usize> {
11    |                               - unclosed delimiter
12 LL |         let _ = if true {
13 LL |         });
14    |           ^
15    |           |
16    |           help: `}` may belong here
17
18 error: expected identifier, found `;`
19   --> $DIR/issue-60075.rs:6:11
20    |
21 LL |         });
22    |           ^ expected identifier
23
24 error: missing `fn`, `type`, or `const` for trait-item declaration
25   --> $DIR/issue-60075.rs:6:12
26    |
27 LL |           });
28    |  ____________^
29 LL | |
30 LL | |
31 LL | |
32 LL | |
33 LL | |         Some(4)
34    | |________^ missing `fn`, `type`, or `const`
35
36 error: aborting due to 4 previous errors
37