//@ check-pass #![feature(inherent_associated_types)] #![allow(incomplete_features)] fn user() where S::P: std::fmt::Debug {} struct S(T); impl S { type P = (); } fn main() {}