summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unsized/unsized-bare-typaram.rs
blob: e611da91515f3b62d262951452fa2916444fa04a (plain)
1
2
3
4
fn bar<T: Sized>() { }
fn foo<T: ?Sized>() { bar::<T>() }
//~^ ERROR the size for values of type
fn main() { }