1 error[E0718]: `index` language item must be applied to a trait with 1 generic argument
2 --> $DIR/wrong-number-generic-args-index.rs:11:1
6 LL | trait MyIndex<'a, T> {}
7 | ------- this trait has 2 generic arguments, not 1
9 error[E0608]: cannot index into a value of type `[{integer}; 5]`
10 --> $DIR/wrong-number-generic-args-index.rs:17:13
15 error: aborting due to 2 previous errors
17 Some errors have detailed explanations: E0608, E0718.
18 For more information about an error, try `rustc --explain E0608`.