rust/tests/ui/error-codes/E0223.rs
2023-01-11 09:32:08 +00:00

7 lines
107 B
Rust

trait MyTrait { type X; }
fn main() {
let foo: MyTrait::X;
//~^ ERROR ambiguous associated type
}