fn is_sized() { } fn not_sized() { } enum Foo { FooSome(U), FooNone } fn foo1() { not_sized::>() } // Hunky dory. fn foo2() { not_sized::>() } //~^ ERROR the size for values of type // // Not OK: `T` is not sized. fn main() { }