blob: 4ac8ffe8931c69caf4340fe82a4ad13f62c32e51 [file] [log] [blame] [edit]
//@ edition: 2021
trait MyTrait {
async fn foo(self) -> (Self, i32);
}
impl MyTrait for xyz::T { //~ ERROR failed to resolve: use of undeclared crate or module `xyz`
async fn foo(self, key: i32) -> (u32, i32) {
(self, key)
}
}
fn main() {}