]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/rpit-not-sized.rs
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk
[rust.git] / src / test / ui / impl-trait / rpit-not-sized.rs
1 fn foo() -> impl ?Sized {
2     //~^ ERROR the size for values of type `impl ?Sized` cannot be known at compilation time
3     ()
4 }
5
6 fn main() {}