]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/fallback_inference.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / impl-trait / fallback_inference.rs
1 use std::marker::PhantomData;
2
3 fn weird() -> PhantomData<impl Sized> {
4     PhantomData //~ ERROR type annotations needed
5 }
6
7 fn main() {}