Sign in
rust
/
rust
/
9b1f20d20dc00a950f99a00a34be9d2ca78d1f0d
/
.
/
tests
/
ui
/
coroutine
/
issue-48048.rs
blob: 75664f20198b55ec961569e00e3fc010961e01cc [
file
]
#![
feature
(
coroutines
)]
fn
main
()
{
let
x
=
(|
_
|
{},);
#[
coroutine
]
||
{
let
x
=
x
;
x
.
0
({
//~ ERROR borrow may still be in use when coroutine yields
yield
;
});
};
}