mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 20:17:50 +00:00
11 lines
219 B
Rust
11 lines
219 B
Rust
![]() |
//@ 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);
|
||
|
}
|