9 lines
124 B
Rust
9 lines
124 B
Rust
|
// check-pass
|
||
|
// compile-flags: -Ztrait-solver=next
|
||
|
|
||
|
fn test<T: Iterator>(x: T::Item) -> impl Sized {
|
||
|
x
|
||
|
}
|
||
|
|
||
|
fn main() {}
|