diff --git a/src/test/ui/const-eval/index_out_of_bounds.rs b/src/test/ui/const-eval/index_out_of_bounds.rs index 9624b2924baa..f3578bcef6e4 100644 --- a/src/test/ui/const-eval/index_out_of_bounds.rs +++ b/src/test/ui/const-eval/index_out_of_bounds.rs @@ -14,4 +14,4 @@ static FOO: i32 = [][0]; fn main() { let array = [std::env::args().len()]; array[1]; //~ ERROR index out of bounds -} \ No newline at end of file +}