mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
11 lines
195 B
Rust
11 lines
195 B
Rust
//@ check-pass
|
|
|
|
|
|
trait Foo {
|
|
fn early<'a, T: 'a>(x: &'a T) -> impl Iterator<Item = impl Into<&'a T>>;
|
|
|
|
fn late<'a, T>(x: &'a T) -> impl Iterator<Item = impl Into<&'a T>>;
|
|
}
|
|
|
|
fn main() {}
|