-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-nameresname, path and module resolutionname, path and module resolutionA-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionS-unactionableIssue requires feedback, design decisions or is blocked on other workIssue requires feedback, design decisions or is blocked on other work
Description
Like the T::S
here:
trait D {}
trait Foo {
type S;
}
trait Bar<T>
where
T: Foo,
T::S: D,
{
}
fn main() {}
CC #4991
Another one:
trait Foo {
type Bar;
fn foo(_: Self::Bar);
}
struct S;
impl Foo for S {
type Bar = i32;
fn foo(_: Self::Bar) {
todo!()
}
}
Metadata
Metadata
Assignees
Labels
A-nameresname, path and module resolutionname, path and module resolutionA-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionS-unactionableIssue requires feedback, design decisions or is blocked on other workIssue requires feedback, design decisions or is blocked on other work