blob: fc2c15ee8c66d332bc4d7374fbfdd9b3e4c10509 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Fix for <https://github.com/rust-lang/rust/issues/125432>.
fn separate_arms() {
let mut x = None;
match x {
None => {
x = Some(0);
}
Some(right) => {
consume(right);
//~^ ERROR cannot find function `consume` in this scope
}
}
}
fn main() {}
|