]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-54348.stderr
Update tests
[rust.git] / src / test / ui / issues / issue-54348.stderr
1 error: index out of bounds: the len is 1 but the index is 1
2   --> $DIR/issue-54348.rs:3:5
3    |
4 LL |     [1][1.5 as usize]; //~ ERROR index out of bounds
5    |     ^^^^^^^^^^^^^^^^^
6    |
7    = note: #[deny(const_err)] on by default
8
9 error: index out of bounds: the len is 1 but the index is 1
10   --> $DIR/issue-54348.rs:4:5
11    |
12 LL |     [1][1u64 as usize]; //~ ERROR index out of bounds
13    |     ^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16