]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsized/unsized-bare-typaram.rs
Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis
[rust.git] / src / test / 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() { }