Skip to content

Commit 92de6e0

Browse files
committed
---
yaml --- r: 31145 b: refs/heads/dist-snap c: d5b8bbb h: refs/heads/master i: 31143: e01c085 v: v3
1 parent 92419b2 commit 92de6e0

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: ea5f19206c77fd6413ddfe86290b35520c779df7
10+
refs/heads/dist-snap: d5b8bbb4b20a5d88eea0b317102ed747deed802d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/src/libsyntax/print/pprust.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,17 @@ fn print_vstore(s: ps, t: ast::vstore) {
860860
ast::vstore_fixed(none) { word(s.s, "_"); }
861861
ast::vstore_uniq { word(s.s, "~"); }
862862
ast::vstore_box { word(s.s, "@"); }
863-
ast::vstore_slice(r) { print_region(s, r); word(s.s, "."); }
864-
}
863+
ast::vstore_slice(r) {
864+
alt r.node {
865+
ast::re_anon { word(s.s, "&"); }
866+
ast::re_named(name) {
867+
word(s.s, "&");
868+
word(s.s, *name);
869+
word(s.s, ".");
870+
}
871+
}
872+
}
873+
}
865874
}
866875

867876
fn print_expr(s: ps, &&expr: @ast::expr) {

0 commit comments

Comments
 (0)