]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/mir/issue-71793-inline-args-storage.rs
1 // Verifies that inliner emits StorageLive & StorageDead when introducing
2 // temporaries for arguments, so that they don't become part of the generator.
3 // Regression test for #71793.
7 // compile-args: -Zmir-opt-level=2
11 pub async
fn connect() {}
13 pub async
fn connect_many() {
14 Vec
::<String
>::new().first().ok_or("").unwrap();