summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-68987-unmatch-issue-2.stderr
blob: 0ecb748a0a4ce6593f5817fa1345474e24bc5707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error: mismatched closing delimiter: `)`
  --> $DIR/issue-68987-unmatch-issue-2.rs:3:32
   |
LL | async fn obstest() -> Result<> {
   |                                ^ unclosed delimiter
LL |     let obs_connect = || -> Result<(), MyError) {
   |                                               ^ mismatched closing delimiter

error: unexpected closing delimiter: `}`
  --> $DIR/issue-68987-unmatch-issue-2.rs:14:1
   |
LL |     let obs_connect = || -> Result<(), MyError) {
   |                                               - missing open `(` for this delimiter
...
LL | }
   | ^ unexpected closing delimiter

error: aborting due to 2 previous errors