Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
outlives-in-nested-rpit.rs
blob: 7fbdf2e9b16a8008d9589a17fea2acdfb4643a5b [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}