]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-39559.stderr
Rollup merge of #62074 - wizAmit:feature/mut_chunks_nth_back, r=scottmcm
[rust.git] / src / test / ui / issues / issue-39559.stderr
1 error[E0599]: no function or associated item named `dim` found for type `D` in the current scope
2   --> $DIR/issue-39559.rs:14:21
3    |
4 LL |     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
8 help: the following trait defines an item `dim`, perhaps you need to restrict type parameter `D` with it:
9    |
10 LL | pub struct Vector<T, D: Dim + Dim> {
11    |                      ^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0599`.