X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Findex-help.stderr;h=4c585a958c14bcd0955d6cdda49e01993dba70a5;hb=0b1669d96cee9dec9035a50fdf0a967a68605f98;hp=669c0837fdabd9ab82f2e383746d239ad8e31fa8;hpb=ff2d506c2c748bd218f74c6014abc4cecc8c74c4;p=rust.git diff --git a/src/test/ui/index-help.stderr b/src/test/ui/index-help.stderr index 669c0837fda..4c585a958c1 100644 --- a/src/test/ui/index-help.stderr +++ b/src/test/ui/index-help.stderr @@ -1,5 +1,5 @@ -error[E0277]: the trait bound `i32: std::slice::SliceIndex<[{integer}]>` is not satisfied - --> $DIR/index-help.rs:13:5 +error[E0277]: the type `[{integer}]` cannot be indexed by `i32` + --> $DIR/index-help.rs:3:5 | LL | x[0i32]; //~ ERROR E0277 | ^^^^^^^ slice indices are of type `usize` or ranges of `usize`