mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
12 lines
192 B
Rust
12 lines
192 B
Rust
|
//@ edition:2021
|
||
|
//@ build-pass
|
||
|
|
||
|
fn main() {
|
||
|
let _ = async {
|
||
|
let mut s = (String::new(),);
|
||
|
s.0.push_str("abc");
|
||
|
std::mem::drop(s);
|
||
|
async {}.await;
|
||
|
};
|
||
|
}
|