]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issue-93648.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / async-await / issue-93648.rs
1 // edition:2021
2 // build-pass
3 // compile-flags: -Zdrop-tracking
4
5 fn main() {
6     let _ = async {
7         let mut s = (String::new(),);
8         s.0.push_str("abc");
9         std::mem::drop(s);
10         async {}.await;
11     };
12 }