blob: 3e5d39ab311509000c230009f630ad744c9f3f0f [file] [log] [blame]
#![feature(unsized_locals)]
fn main() {
struct A<X: ?Sized>(X);
A as fn(str) -> A<str>;
//~^ERROR the size for values of type `str` cannot be known at compilation time
}