Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
async-await
/
issue-93648.rs
blob: 4ce3ac1e8746030d3ff3caea1e25aa27d8d41267 [
file
] [
log
] [
blame
]
// edition:2021
// build-pass
// compile-flags: -Zdrop-tracking
fn
main
()
{
let
_
=
async
{
let
mut
s
=
(
String
::
new
(),);
s
.
0.push
_str
(
"abc"
);
std
::
mem
::
drop
(
s
);
async
{}.
await
;
};
}