fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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