summary refs log tree commit diff
path: root/src/test/ui/issue-60075.stderr
blob: ac97d32a6e15b7f05e553b5f455adac50007656f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error: expected one of `.`, `;`, `?`, `else`, or an operator, found `}`
  --> $DIR/issue-60075.rs:6:10
   |
LL |         });
   |          ^ expected one of `.`, `;`, `?`, `else`, or an operator here

error: expected one of `async`, `const`, `extern`, `fn`, `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: missing `fn`, `type`, or `const` for trait-item declaration
  --> $DIR/issue-60075.rs:6:12
   |
LL |           });
   |  ____________^
LL | |
LL | |
LL | |
LL | |
LL | |         Some(4)
   | |________^ missing `fn`, `type`, or `const`

error: aborting due to 4 previous errors