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() {}