Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
outlives-in-nested-rpit.rs
blob: 317ff7fe8538b607926993731025d21f44705dbe [
file
] [
log
] [
blame
]
// 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
()
{}