about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2019-05-02 08:48:08 -0400
committerGitHub <noreply@github.com>2019-05-02 08:48:08 -0400
commitcac07eba5355a4c29532b180e394333167e10c63 (patch)
tree79f46dabac5c610ab6c793077f597ad7de9af100
parent16fe8ccce95a9df185404c881c029fb0507e4821 (diff)
downloadrust-cac07eba5355a4c29532b180e394333167e10c63.tar.gz
rust-cac07eba5355a4c29532b180e394333167e10c63.zip
Fix failing test
-rw-r--r--src/test/ui/consts/const-err.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/consts/const-err.rs b/src/test/ui/consts/const-err.rs
index 8cc3dc7f587..7dfcda69058 100644
--- a/src/test/ui/consts/const-err.rs
+++ b/src/test/ui/consts/const-err.rs
@@ -13,4 +13,5 @@ const FOO: u8 = [5u8][1];
 fn main() {
     black_box((FOO, FOO));
     //~^ ERROR erroneous constant used
+    //~| ERROR erroneous constant
 }