]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-60075.stderr
Auto merge of #60065 - QuietMisdreavus:async-move-doctests, r=ollie27
[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    |           ^ help: `}` may belong here
15
16 error: expected identifier, found `;`
17   --> $DIR/issue-60075.rs:6:11
18    |
19 LL |         });
20    |           ^ expected identifier
21
22 error: missing `fn`, `type`, or `const` for trait-item declaration
23   --> $DIR/issue-60075.rs:6:12
24    |
25 LL |           });
26    |  ____________^
27 LL | |
28 LL | |
29 LL | |
30 LL | |
31 LL | |         Some(4)
32    | |________^ missing `fn`, `type`, or `const`
33
34 error: aborting due to 4 previous errors
35