]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/multiple-lifetimes/elided.rs
Rollup merge of #107114 - Erk-:add-absolute-note-to-path-join, r=m-ou-se
[rust.git] / tests / ui / async-await / multiple-lifetimes / elided.rs
1 // edition:2018
2 // run-pass
3
4 // Test that we can use async fns with multiple arbitrary lifetimes.
5
6 async fn multiple_elided_lifetimes(_: &u8, _: &u8) {}
7
8 fn main() {
9     let _ = multiple_elided_lifetimes(&22, &44);
10 }