rust/tests/ui/async-await/multiple-lifetimes/named.rs
2023-01-11 09:32:08 +00:00

11 lines
229 B
Rust

// edition:2018
// run-pass
// Test that we can use async fns with multiple arbitrary lifetimes.
async fn multiple_named_lifetimes<'a, 'b>(_: &'a u8, _: &'b u8) {}
fn main() {
let _ = multiple_named_lifetimes(&22, &44);
}