error[E0599]: no function or associated item named `dim` found for type parameter `D` in the current scope | |
--> $DIR/issue-39559.rs:14:21 | |
| | |
LL | entries: [T; D::dim()], | |
| ^^^ function or associated item not found in `D` | |
| | |
= help: items from traits can only be used if the type parameter is bounded by the trait | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0599`. |