summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-60075.stderr
blob: 210ef700cd4bc27dd4956cc14314f8c387f01bf0 (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
error: expected one of `.`, `;`, `?`, `else`, or an operator, found `}`
  --> $DIR/issue-60075.rs:6:10
   |
LL |         });
   |          ^ expected one of `.`, `;`, `?`, `else`, or an operator

error: non-item in item list
  --> $DIR/issue-60075.rs:6:11
   |
LL | trait T {
   |         - item list starts here
...
LL |         });
   |           ^ non-item starts here
...
LL |     }
   |     - item list ends here

error: mismatched closing delimiter: `)`
  --> $DIR/issue-60075.rs:4:31
   |
LL |     fn qux() -> Option<usize> {
   |                               ^ unclosed delimiter
LL |         let _ = if true {
LL |         });
   |          ^ mismatched closing delimiter

error: aborting due to 3 previous errors