1 error[E0626]: borrow may still be in use when generator yields
2 --> $DIR/pattern-borrow.rs:9:24
4 LL | if let Test::A(ref _a) = test {
7 | -------- possible yield occurs here
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0626`.