Skip to content

Commit 7b6c4ad

Browse files
author
James Miller
committed
---
yaml --- r: 142479 b: refs/heads/try2 c: 1fd735d h: refs/heads/master i: 142477: b86d047 142475: c617b2f 142471: 9eba010 142463: 6ef3bda v: v3
1 parent c278c91 commit 7b6c4ad

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: fb19205b1bfd565ca11132eb7deb64e0338d5ecd
8+
refs/heads/try2: 1fd735d3c1d7aaa9e026ce74ea341a291fce91fd
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libsyntax/fold.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ mod test {
964964
}
965965

966966
// this version doesn't care about getting comments or docstrings in.
967-
fn fake_print_crate(s: @pprust::ps, crate: ast::crate) {
967+
fn fake_print_crate(s: @pprust::ps, crate: &ast::crate) {
968968
pprust::print_mod(s, &crate.node.module, crate.node.attrs);
969969
}
970970

@@ -995,7 +995,7 @@ mod test {
995995
let ast = string_to_crate(@"#[a] mod b {fn c (d : e, f : g) {h!(i,j,k);l;m}}");
996996
assert_pred!(matches_codepattern,
997997
"matches_codepattern",
998-
pprust::to_str(zz_fold.fold_crate(ast),fake_print_crate,
998+
pprust::to_str(&zz_fold.fold_crate(ast),fake_print_crate,
999999
token::get_ident_interner()),
10001000
~"#[a]mod zz{fn zz(zz:zz,zz:zz){zz!(zz,zz,zz);zz;zz}}");
10011001
}
@@ -1007,7 +1007,7 @@ mod test {
10071007
=> (g $(d $d $e)+))} ");
10081008
assert_pred!(matches_codepattern,
10091009
"matches_codepattern",
1010-
pprust::to_str(zz_fold.fold_crate(ast),fake_print_crate,
1010+
pprust::to_str(&zz_fold.fold_crate(ast),fake_print_crate,
10111011
token::get_ident_interner()),
10121012
~"zz!zz((zz$zz:zz$(zz $zz:zz)zz+=>(zz$(zz$zz$zz)+)))");
10131013
}

branches/try2/src/libsyntax/parse/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -482,15 +482,15 @@ mod test {
482482
assert_eq!(parser.parse_arg_general(true),
483483
ast::arg{
484484
is_mutbl: false,
485-
ty: @ast::Ty{id:3, // fixme
485+
ty: ast::Ty{id:3, // fixme
486486
node: ast::ty_path(ast::Path{
487487
span:sp(4,4), // this is bizarre...
488488
// check this in the original parser?
489489
global:false,
490490
idents:~[str_to_ident("int")],
491491
rp: None,
492492
types: ~[]},
493-
@None, 2),
493+
None, 2),
494494
span:sp(4,7)},
495495
pat: @ast::pat{id:1,
496496
node: ast::pat_ident(ast::bind_infer,
@@ -519,14 +519,14 @@ mod test {
519519
node: ast::item_fn(ast::fn_decl{
520520
inputs: ~[ast::arg{
521521
is_mutbl: false,
522-
ty: @ast::Ty{id:3, // fixme
522+
ty: ast::Ty{id:3, // fixme
523523
node: ast::ty_path(ast::Path{
524524
span:sp(10,13),
525525
global:false,
526526
idents:~[str_to_ident("int")],
527527
rp: None,
528528
types: ~[]},
529-
@None, 2),
529+
None, 2),
530530
span:sp(10,13)},
531531
pat: @ast::pat{id:1, // fixme
532532
node: ast::pat_ident(
@@ -542,7 +542,7 @@ mod test {
542542
span: sp(6,7)},
543543
id: 4 // fixme
544544
}],
545-
output: @ast::Ty{id:5, // fixme
545+
output: ast::Ty{id:5, // fixme
546546
node: ast::ty_nil,
547547
span:sp(15,15)}, // not sure
548548
cf: ast::return_val

branches/try2/src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2272,7 +2272,7 @@ mod test {
22722272

22732273
let decl = ast::fn_decl {
22742274
inputs: ~[],
2275-
output: @ast::Ty {id: 0,
2275+
output: ast::Ty {id: 0,
22762276
node: ast::ty_nil,
22772277
span: codemap::dummy_sp()},
22782278
cf: ast::return_val

0 commit comments

Comments
 (0)