blob: a9bc24e44d165d75e238ca2e35af421f162d49f4 [file] [log] [blame]
trait Get {
type Value: ?Sized;
fn get(&self) -> <Self as Get>::Value;
}
fn foo<T:Get>(t: T) {
let x = t.get(); //~ ERROR the size for values of type
}
fn main() {
}