error[E0220]: associated type `Proj` not found for `Family>` in the current scope --> $DIR/not-found-self-type-differs.rs:17:34 | LL | struct Family(T); | ---------------- associated item `Proj` not found for this struct ... LL | type Alias = Family>::Proj; | ^^^^ associated item not found in `Family>` | = note: the associated type was found for - `Family<()>` - `Family>` error: aborting due to previous error For more information about this error, try `rustc --explain E0220`.