// check-fail // known-bug: #102682 // edition: 2021 #![feature(async_fn_in_trait)] #![allow(incomplete_features)] trait MyTrait { async fn foo(&self) -> &(T, U); } impl MyTrait for (T, U) { async fn foo(&self) -> &(T, U) { self } } fn main() {}