]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsized/unsized-bare-typaram.rs
Rollup merge of #106766 - GuillaumeGomez:rm-stripper-dead-code, r=notriddle
[rust.git] / tests / ui / unsized / unsized-bare-typaram.rs
1 fn bar<T: Sized>() { }
2 fn foo<T: ?Sized>() { bar::<T>() }
3 //~^ ERROR the size for values of type
4 fn main() { }