blob: 620b0080966b9e5e70f3dddc4127194625ab05ca [file] [log] [blame]
// edition:2018
// run-pass
// Test that we can use async fns with multiple arbitrary lifetimes.
#![feature(arbitrary_self_types, async_await, await_macro)]
#![allow(dead_code)]
use std::ops::Add;
async fn multiple_hrtb_and_single_named_lifetime_ok<'c>(
_: impl for<'a> Add<&'a u8>,
_: impl for<'b> Add<&'b u8>,
_: &'c u8,
) {}
fn main() {}