rust/tests/ui/traits/new-solver/alias-relate/opaque-hidden-ty-is-rigid-alias.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
124 B
Rust
Raw Normal View History

2023-11-09 04:08:02 -06:00
// check-pass
// compile-flags: -Ztrait-solver=next
fn test<T: Iterator>(x: T::Item) -> impl Sized {
x
}
fn main() {}