mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-13 13:11:59 +00:00
15 lines
366 B
Rust
15 lines
366 B
Rust
// 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) {
|
|
async {
|
|
}
|
|
}
|
|
|
|
if let Ok(version, scene_list) = obs_connect() {
|
|
|
|
} else {
|
|
|
|
}
|
|
} //~ ERROR unexpected closing delimiter
|