Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
coroutine
/
borrow-in-tail-expr.rs
blob: 380e95cfc7765a74b3574d6679448670a9799d60 [
file
] [
log
] [
blame
]
//@ run-pass
#![
feature
(
coroutines
,
stmt_expr_attributes
)]
fn
main
()
{
let
_a
=
#[
coroutine
]
||
{
yield
;
let
a
=
String
::
new
();
a
.
len
()
};
}