//@ compile-flags: -Znext-solver //@ check-pass #![feature(ptr_metadata)] use std::ptr::{DynMetadata, Pointee}; trait Trait {} struct MyDst(T); fn meta_is + ?Sized, U>() {} fn works() { meta_is::(); meta_is::<[T], usize>(); meta_is::(); meta_is::, DynMetadata>>(); meta_is::, ()>(); meta_is::<((((([u8],),),),),), usize>(); } fn main() {}