Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
variances-of-gat.rs
blob: aabb6f830ed950c7dcd15c17fdea3459106546f8 [
file
] [
log
] [
blame
]
// check-pass
trait
Foo
{}
impl
Foo
for
()
{}
trait
ThreeCellFragment
{
fn
ext_cells
<
'a>(&'
a
self
)
->
impl
Foo
+
'
a
{
self
.
ext_adjacent_cells
()
}
fn
ext_adjacent_cells
<
'a>(&'
a
self
)
->
impl
Foo
+
'
a
;
}
fn
main
()
{}