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