about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-12 09:14:44 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-12 09:14:44 +0530
commitcc6ef80fa4b04ad8247091c19b2c380c7fc5306a (patch)
tree76dee933ea471c59e338c5c8263215e560a65620 /src/test/compile-fail
parente4e5640a6e189004c81417902a94242074acf530 (diff)
parenta83db812385f9bf281078c7c8ede44f6863f2966 (diff)
downloadrust-cc6ef80fa4b04ad8247091c19b2c380c7fc5306a.tar.gz
rust-cc6ef80fa4b04ad8247091c19b2c380c7fc5306a.zip
Rollup merge of #23275 - aochagavia:constants, r=eddyb
 Fixes #23260

r? @eddyb
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/repeat_count.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/repeat_count.rs b/src/test/compile-fail/repeat_count.rs
index 9b3e2668042..12158141220 100644
--- a/src/test/compile-fail/repeat_count.rs
+++ b/src/test/compile-fail/repeat_count.rs
@@ -19,7 +19,7 @@ fn main() {
 //~| found `()`
 //~| expected usize
 //~| found ()
-//~| ERROR expected constant integer for repeat count, found non-constant expression
+//~| ERROR expected positive integer for repeat count, found tuple
     let c = [0; true];
     //~^ ERROR mismatched types
     //~| expected `usize`