Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
()
{}