Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
associated-item
/
associated-item-duplicate-bounds.rs
blob: bec922b0721b978cae319d2b0d0962e94e79e057 [
file
] [
log
] [
blame
]
trait
Adapter
{
const
LINKS
:
usize
;
}
struct
Foo
<
A
:
Adapter
>
{
adapter
:
A
,
links
:
[
u32
;
A
::
LINKS
],
// Shouldn't suggest bounds already there.
//~^ ERROR: no associated item named `LINKS` found
}
fn
main
()
{}