Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
coroutine
/
issue-48048.rs
blob: b61b7c7707235ebfe39439c2c052076a47ee34b5 [
file
] [
log
] [
blame
]
#![
feature
(
coroutines
)]
fn
main
()
{
let
x
=
(|
_
|
{},);
||
{
let
x
=
x
;
x
.
0
({
//~ ERROR borrow may still be in use when coroutine yields
yield
;
});
};
}