Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
outlives-in-nested-rpit.rs
blob: 6330242ceebc24c73d06b1aabb3d8be7f33f3bad [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
return_position_impl_trait_in_trait
)]
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
()
{}