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