Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
src
/
test
/
ui
/
generator
/
issue-48048.rs
blob: 992bbc97a9f179a586fc0d4c138d28b2c1a7b3e7 [
file
] [
log
] [
blame
]
#![
feature
(
generators
)]
fn
main
()
{
let
x
=
(|
_
|
{},);
||
{
let
x
=
x
;
x
.
0
({
//~ ERROR borrow may still be in use when generator yields
yield
;
});
};
}