Skip to content

Commit ed13112

Browse files
committed
---
yaml --- r: 56709 b: refs/heads/try c: 44d4d6d h: refs/heads/master i: 56707: c247cf5 v: v3
1 parent 2434539 commit ed13112

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: c081ffbd1e845687202a975ea2e698b623e5722f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
5-
refs/heads/try: 77eadc0653dac6314ee425ab2502433348c82418
5+
refs/heads/try: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/util/ppaux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ pub fn trait_store_to_str(cx: ctxt, s: ty::TraitStore) -> ~str {
248248
pub fn vstore_ty_to_str(cx: ctxt, ty: ~str, vs: ty::vstore) -> ~str {
249249
match vs {
250250
ty::vstore_fixed(_) => {
251-
fmt!("[%s * %s]", ty, vstore_to_str(cx, vs))
251+
fmt!("[%s, .. %s]", ty, vstore_to_str(cx, vs))
252252
}
253253
ty::vstore_slice(_) => {
254254
fmt!("%s %s", vstore_to_str(cx, vs), ty)

branches/try/src/test/compile-fail/issue-2149.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ impl<A> vec_monad<A> for ~[A] {
2222
}
2323
fn main() {
2424
["hi"].bind(|x| [x] );
25-
//~^ ERROR type `[&'static str * 1]` does not implement any method in scope named `bind`
25+
//~^ ERROR type `[&'static str, .. 1]` does not implement any method in scope named `bind`
2626
//~^^ ERROR Unconstrained region variable
2727
}

branches/try/src/test/compile-fail/issue-4517.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ fn bar(int_param: int) {}
22

33
fn main() {
44
let foo: [u8, ..4] = [1u8, ..4u8];
5-
bar(foo); //~ ERROR mismatched types: expected `int` but found `[u8 * 4]` (expected int but found vector)
5+
bar(foo); //~ ERROR mismatched types: expected `int` but found `[u8, .. 4]` (expected int but found vector)
66
}

0 commit comments

Comments
 (0)