#![feature(inherent_associated_types)] #![allow(incomplete_features)] struct S(T); impl S { type X = () where T: Copy; } fn main() { let _: S::::X; //~ ERROR the trait bound `String: Copy` is not satisfied }