]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generator/pattern-borrow.stderr
Auto merge of #102655 - joboet:windows_tls_opt, r=ChrisDenton
[rust.git] / src / test / 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`.