fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
499 B11 linesraw
1error[E0599]: no associated item named `LINKS` found for type parameter `A` in the current scope
2  --> $DIR/associated-item-duplicate-bounds.rs:7:21
3   |
4LL |     links: [u32; A::LINKS], // Shouldn't suggest bounds already there.
5   |                     ^^^^^ associated item not found in `A`
6   |
7   = help: items from traits can only be used if the type parameter is bounded by the trait
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0599`.