Sign in
fuchsia
/
third_party
/
rust
/
13ef05e2be9862ea7b94d0b42e0b2d044b3c7f6b
/
.
/
tests
/
ui
/
associated-consts
/
mismatched_impl_ty_3.rs
blob: 7945441f1c9eceae530410e3c0ab9fae6c033ca5 [
file
] [
log
] [
blame
]
//@ run-pass
trait
Trait
{
const
ASSOC
:
for
<
'a, '
b
>
fn
(&
'a u32, &'
b u32
);
}
impl
Trait
for
()
{
const
ASSOC
:
for
<
'a> fn(&'
a u32
,
&
'
a u32
)
=
|
_
,
_
|
();
}
fn
main
()
{
let
_
=
<()
as
Trait
>::
ASSOC
;
}