diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-12 09:14:44 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-12 09:14:44 +0530 |
| commit | cc6ef80fa4b04ad8247091c19b2c380c7fc5306a (patch) | |
| tree | 76dee933ea471c59e338c5c8263215e560a65620 /src/test/compile-fail | |
| parent | e4e5640a6e189004c81417902a94242074acf530 (diff) | |
| parent | a83db812385f9bf281078c7c8ede44f6863f2966 (diff) | |
| download | rust-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.rs | 2 |
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` |
