2024-02-16 20:02:50 +00:00
|
|
|
//@ edition:2018
|
|
|
|
//@ run-pass
|
2019-06-25 14:55:32 +00:00
|
|
|
|
|
|
|
// Test that we can use async fns with multiple arbitrary lifetimes.
|
|
|
|
|
|
|
|
async fn multiple_elided_lifetimes(_: &u8, _: &u8) {}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = multiple_elided_lifetimes(&22, &44);
|
|
|
|
}
|