fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0599]: no function or associated item named `dim` found for type `D` in the current scope 2 --> $DIR/issue-39559.rs:14:21 3 | 4LL | entries: [T; D::dim()], 5 | ^^^ function or associated item not found in `D` 6 | 7 = help: items from traits can only be used if the type parameter is bounded by the trait 8help: the following trait defines an item `dim`, perhaps you need to restrict type parameter `D` with it: 9 | 10LL | pub struct Vector<T, D: Dim + Dim> { 11 | ^^^^^^^^ 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0599`.