summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/multiple-lifetimes/elided.rs
blob: 8258e2eff521bb012e65f950c0579caa4f5487f6 (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);
}