]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/multiple-lifetimes/elided.rs
Rollup merge of #107108 - sulami:issue-83968-doc-alias-typo-suggestions, r=compiler...
[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 }