blob: 2f1f939459856eb014cc2ade55255630cfbfb33b [file]
//! Ensure that we check the predicates at the definition site for well-formedness.
#![feature(checked_type_aliases)]
#![allow(incomplete_features)]
type Alias0 = ()
where
Vec<str>:; //~ ERROR the size for values of type `str` cannot be known at compilation time
type Alias1 = ()
where
Vec<str>: Sized; //~ ERROR the size for values of type `str` cannot be known at compilation time
fn main() {}