We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This example produced a spurious unused type alias warning:
struct S<T>(T); type Alias<T> = S<T>; trait Tr<T> { fn f(&self) {} } impl<T> Tr<T> for S<T> {} impl<T> S<T> where Alias<T>: Tr<T> { fn g(&self) { self.f() } } fn main() { S(0).g(); }