diff options
Diffstat (limited to 'src/test/ui/array_const_index-0.rs')
| -rw-r--r-- | src/test/ui/array_const_index-0.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/array_const_index-0.rs b/src/test/ui/array_const_index-0.rs index 2403d50db39..0ad297eeb5c 100644 --- a/src/test/ui/array_const_index-0.rs +++ b/src/test/ui/array_const_index-0.rs @@ -12,7 +12,6 @@ const A: &'static [i32] = &[]; const B: i32 = (&A)[1]; //~^ index out of bounds: the len is 0 but the index is 1 //~| ERROR any use of this value will cause an error -//~| ERROR any use of this value will cause an error fn main() { let _ = B; //~ ERROR erroneous constant used |
