rust/tests/ui/traits/next-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
118 B
Rust
Raw Normal View History

2023-11-09 11:08:02 +01:00
// check-pass
2023-12-14 13:11:28 +01:00
// compile-flags: -Znext-solver
2023-11-09 11:08:02 +01:00
fn test<T: Iterator>(x: T::Item) -> impl Sized {
x
}
fn main() {}