error[E0220]: associated type `Proj` not found for `Family` in the current scope --> $DIR/not-found-self-type-differs.rs:21:40 | LL | struct Family(T); | ---------------- associated item `Proj` not found for this struct ... LL | let _: 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`.