5 lines
111 B
Rust
5 lines
111 B
Rust
fn bar<T: Sized>() { }
|
|
fn foo<T: ?Sized>() { bar::<T>() }
|
|
//~^ ERROR the size for values of type
|
|
fn main() { }
|