#![feature(inherent_associated_types)] #![allow(incomplete_features)] struct Family(T); impl Family<()> { type Proj = (); } impl Family> { type Proj = Self; } fn main() { let _: Family>::Proj; //~ ERROR associated type `Proj` not found for `Family>` let _: Family::Proj = (); //~ ERROR associated type `Proj` not found for `Family` }