blob: 89aaa68ba40955e55b0ad4be22b36919a030d0bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// FIXME: this case need more work to fix
// currently the TokenTree matching ')' with '{', which is not user friendly for diagnostics
async fn obstest() -> Result<> {
let obs_connect = || -> Result<(), MyError) { //~ ERROR mismatched closing delimiter
async {
}
}
if let Ok(version, scene_list) = obs_connect() {
} else {
}
} //~ ERROR unexpected closing delimiter
|