-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
Code
struct S;
trait Tr {
type A;
}
impl Tr for S {
type A = S;
}
impl S {
fn f<T>() {}
}
type A = <S as Tr>::A::f<u8>;
//~^ ERROR ambiguous associated type
fn main() {}
see gccrs https://godbolt.org/z/1oGTafn1z
Meta
- What version of Rust GCC were you using, git sha if possible. be27571
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo