rust/tests/ui/traits/next-solver/alias-relate/opaque-hidden-ty-is-rigid-a...

9 lines
120 B
Rust

//@ check-pass
//@ compile-flags: -Znext-solver
fn test<T: Iterator>(x: T::Item) -> impl Sized {
x
}
fn main() {}