11 lines
213 B
Rust
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() {}
|