1
Fork 0
rust/tests/ui/parser/issues/issue-10636-2.rs
2025-03-29 13:30:20 +03:00

11 lines
303 B
Rust

// FIXME(31528) we emit a bunch of silly errors here due to continuing past the
// first one. This would be easy-ish to address by better recovery in tokenisation.
//~vvvvv ERROR mismatched closing delimiter: `}`
pub fn trace_option(option: Option<isize>) {
option.map(|some| 42;
}
fn main() {}