1 // build-pass (FIXME(62277): could be check-pass?)
4 #![feature(type_alias_impl_trait)]
9 type Foo<V> = impl std::fmt::Debug;
13 fn foo_desugared<T: Trait<[u32; {
15 static FOO: usize = 42;
17 }]>>(_: T) -> Foo<T> {
18 (42, std::marker::PhantomData::<T>)