]> git.lizzy.rs Git - rust.git/blob - src/test/ui/index-help.stderr
Rollup merge of #48629 - strake:char, r=alexcrichton
[rust.git] / src / test / ui / index-help.stderr
1 error[E0277]: the trait bound `std::vec::Vec<{integer}>: std::ops::Index<i32>` is not satisfied
2   --> $DIR/index-help.rs:13:5
3    |
4 LL |     x[0i32]; //~ ERROR E0277
5    |     ^^^^^^^ vector indices are of type `usize` or ranges of `usize`
6    |
7    = help: the trait `std::ops::Index<i32>` is not implemented for `std::vec::Vec<{integer}>`
8
9 error: aborting due to previous error
10
11 If you want more information on this error, try using "rustc --explain E0277"