]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-err3.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / consts / const-err3.stderr
index 42de247c8f7e074d6a9e139cae02d89e99d5104f..0602707be70408458efe8ba4b1f7f4882e7cab05 100644 (file)
@@ -34,11 +34,5 @@ error: index out of bounds: the len is 1 but the index is 1
 LL |     let _e = [5u8][1];
    |              ^^^^^^^^
 
-error: this expression will panic at runtime
-  --> $DIR/const-err3.rs:24:14
-   |
-LL |     let _e = [5u8][1];
-   |              ^^^^^^^^ index out of bounds: the len is 1 but the index is 1
-
-error: aborting due to 6 previous errors
+error: aborting due to 5 previous errors