]> git.lizzy.rs Git - rust.git/blob - tests/ui/generator/pattern-borrow.stderr
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / generator / pattern-borrow.stderr
1 error[E0626]: borrow may still be in use when generator yields
2   --> $DIR/pattern-borrow.rs:9:24
3    |
4 LL |         if let Test::A(ref _a) = test {
5    |                        ^^^^^^
6 LL |             yield ();
7    |             -------- possible yield occurs here
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0626`.