about summary refs log tree commit diff
path: root/tests/ui/async-await/multiple-lifetimes/elided.rs
blob: 954695d0aa8fc43a889d6626839c069be2e0117e (plain)
1
2
3
4
5
6
7
8
9
10
//@ edition:2018
//@ run-pass

// 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);
}