about summary refs log tree commit diff
path: root/src/test/ui/array_const_index-0.rs
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-08-31 10:40:14 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-10-25 16:47:35 +0200
commit0f970486183084634b08f516531c55d2286a38af (patch)
tree0737b0dc8ebf45a2508b0627dd7aada93d767b40 /src/test/ui/array_const_index-0.rs
parentd34232bcaf6f2bdb3ac17d6025c4c68f9798be0b (diff)
downloadrust-0f970486183084634b08f516531c55d2286a38af.tar.gz
rust-0f970486183084634b08f516531c55d2286a38af.zip
Deduplicate all the ~~things~~ errors
Diffstat (limited to 'src/test/ui/array_const_index-0.rs')
-rw-r--r--src/test/ui/array_const_index-0.rs1
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