Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
issue-102301.rs
blob: afd7bf6b1ae73a3dd05ab1af00a360e2cf2461de [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
trait
Foo
<
T
>
{
fn
foo
<
F2
:
Foo
<
T
>>(
self
)
->
impl
Foo
<
T
>;
}
struct
Bar
;
impl
Foo
<
u8
>
for
Bar
{
fn
foo
<
F2
:
Foo
<
u8
>>(
self
)
->
impl
Foo
<
u8
>
{
self
}
}
fn
main
()
{}