rust/tests/ui/coroutine/coroutine-in-orphaned-anon-const.rs
2024-04-15 22:21:50 -04:00

11 lines
213 B
Rust

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