]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-54348.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-54348.stderr
index a9f1b4942584d4ec45a44e4f7da6f9bd38454ce2..d4ee94aa411b79f769df29a18a63949bd7a35f8d 100644 (file)
@@ -1,7 +1,7 @@
 error: index out of bounds: the len is 1 but the index is 1
   --> $DIR/issue-54348.rs:3:5
    |
-LL |     [1][1.5 as usize]; // ERROR index out of bounds
+LL |     [1][1.5 as usize]; //~ ERROR index out of bounds
    |     ^^^^^^^^^^^^^^^^^
    |
    = note: #[deny(const_err)] on by default
@@ -9,7 +9,7 @@ LL |     [1][1.5 as usize]; // ERROR index out of bounds
 error: index out of bounds: the len is 1 but the index is 1
   --> $DIR/issue-54348.rs:4:5
    |
-LL |     [1][1u64 as usize]; // ERROR index out of bounds
+LL |     [1][1u64 as usize]; //~ ERROR index out of bounds
    |     ^^^^^^^^^^^^^^^^^^
 
 error: aborting due to 2 previous errors