rust/tests/ui/coroutine/coroutine-in-orphaned-anon-...

9 lines
152 B
Rust

//@ edition:2021
trait X {
fn test() -> Self::Assoc<{ async {} }>;
//~^ ERROR associated type `Assoc` not found for `Self`
}
pub fn main() {}