blob: 789e4bc80ace90d079cc1c59e5a4a37e420eb017 [file] [log] [blame]
// Check that associated types print generic parameters and where clauses.
// See issue #67509.
// pretty-compare-only
#![feature(generic_associated_types)]
trait X {
type Y<T>: Trait where Self: Sized;
}
impl X for () {
type Y<T> where Self: Sized = u32;
}
fn main() { }