summary refs log tree commit diff
path: root/src/test/ui/generator/yield-in-args.stderr
blob: 3219939e89b2a072baf4b1b30119622201211791 (plain)
1
2
3
4
5
6
7
8
9
error[E0626]: borrow may still be in use when generator yields
  --> $DIR/yield-in-args.rs:18:14
   |
LL |         foo(&b, yield); //~ ERROR
   |              ^  ----- possible yield occurs here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0626`.