1e1d9d4afe
Pass the span after the match's condition expression. Closes #2554.
14 lines
214 B
Rust
14 lines
214 B
Rust
// #2554
|
|
// Do not add the beginning vert to the first match arm's pattern.
|
|
|
|
fn main() {
|
|
match foo(|_| {
|
|
bar(|_| {
|
|
//
|
|
})
|
|
}) {
|
|
Ok(()) => (),
|
|
Err(_) => (),
|
|
}
|
|
}
|