fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.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`.