Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
issue-102301.rs
blob: 600a21b07be546d83a7f16d606bcda2513ddb45d [
file
] [
log
] [
blame
]
// check-pass
#![
allow
(
incomplete_features
)]
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
()
{}