diff options
| author | Jakub Bukaj <jakub@jakub.cc> | 2014-10-29 21:20:06 +0100 |
|---|---|---|
| committer | Jakub Bukaj <jakub@jakub.cc> | 2014-10-29 23:56:22 +0100 |
| commit | 3db13f4892bc06ee038aef01dc9e5daf0451a561 (patch) | |
| tree | d71c926e6222fa604271301de6cdd935f3f5369e /src/test/compile-fail/repeat_count.rs | |
| parent | 1b79303f4996d76e75588705e3ddb64031009564 (diff) | |
| download | rust-3db13f4892bc06ee038aef01dc9e5daf0451a561.tar.gz rust-3db13f4892bc06ee038aef01dc9e5daf0451a561.zip | |
Always drop var IDs from type variables modulo -Z verbose, per PR discussion
Diffstat (limited to 'src/test/compile-fail/repeat_count.rs')
| -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 6a1603fbfcb..0d4dab9916d 100644 --- a/src/test/compile-fail/repeat_count.rs +++ b/src/test/compile-fail/repeat_count.rs @@ -18,7 +18,7 @@ fn main() { let c = [0, ..true]; //~ ERROR expected positive integer for repeat count, found boolean //~^ ERROR: expected `uint`, found `bool` let d = [0, ..0.5]; //~ ERROR expected positive integer for repeat count, found float - //~^ ERROR: expected `uint`, found `_#0f` + //~^ ERROR: expected `uint`, found `_#f` let e = [0, .."foo"]; //~ ERROR expected positive integer for repeat count, found string //~^ ERROR: expected `uint`, found `&'static str` let f = [0, ..-4]; |
