]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/index-help.stderr
Auto merge of #57714 - matthewjasper:wellformed-unreachable, r=pnkfelix
[rust.git] / src / test / ui / index-help.stderr
index 669c0837fdabd9ab82f2e383746d239ad8e31fa8..4c585a958c14bcd0955d6cdda49e01993dba70a5 100644 (file)
@@ -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`