Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
75f57670b03a33dd165685fe1f252969ef5c16ea
/
.
/
tests
/
ui
/
traits
/
impl_trait_as_trait_return_position.rs
blob: 07a8ff66fb644f20e5753c4cdde48452ddd1ef63 [
file
] [
log
] [
blame
]
//@ check-pass
trait
A
{
type
Foo
;
}
impl
<
T
>
A
for
T
{
type
Foo
=
();
}
fn
foo
()
->
impl
std
::
borrow
::
Borrow
<<
u8
as
A
>::
Foo
>
{
()
}
fn
main
()
{
foo
();
}