Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
da873169707da0bdbc8a53d51bf1272ef6d365b8
/
.
/
src
/
test
/
ui
/
traits
/
impl_trait_as_trait_return_position.rs
blob: c3325fd80ca0cc964c91412450c23cbe79c58152 [
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
();
}