// check-pass #![feature(inherent_associated_types)] #![allow(incomplete_features)] struct Cont(T); impl Cont { type Out = Vec; } pub fn weird(x: T) { let _: Cont<_>::Out = vec![true]; } fn main() {}