Skip to content

Commit fdec9ac

Browse files
committed
---
yaml --- r: 103790 b: refs/heads/try c: c8947c1 h: refs/heads/master v: v3
1 parent 605dca2 commit fdec9ac

File tree

3 files changed

+1
-23
lines changed

3 files changed

+1
-23
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: 62f1d68439dcfd509eaca29887afa97f22938373
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5-
refs/heads/try: ec4b456b26cd019b8b2a4a8a3f9fa9841904bf09
5+
refs/heads/try: c8947c14c301acedfa2aad4c3daf3b8040c04804
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/ast.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -405,15 +405,6 @@ impl ToStr for Sigil {
405405
}
406406
}
407407

408-
#[deriving(Eq, Encodable, Decodable, IterBytes)]
409-
pub enum Vstore {
410-
// FIXME (#3469): Change uint to @expr (actually only constant exprs)
411-
VstoreFixed(Option<uint>), // [1,2,3,4]
412-
VstoreUniq, // ~[1,2,3,4]
413-
VstoreBox, // @[1,2,3,4]
414-
VstoreSlice(Option<Lifetime>) // &'foo? [1,2,3,4]
415-
}
416-
417408
#[deriving(Clone, Eq, Encodable, Decodable, IterBytes)]
418409
pub enum ExprVstore {
419410
ExprVstoreUniq, // ~[1,2,3,4]

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,19 +1058,6 @@ pub fn print_mac(s: &mut State, m: &ast::Mac) {
10581058
}
10591059
}
10601060

1061-
pub fn print_vstore(s: &mut State, t: ast::Vstore) {
1062-
match t {
1063-
ast::VstoreFixed(Some(i)) => word(&mut s.s, format!("{}", i)),
1064-
ast::VstoreFixed(None) => word(&mut s.s, "_"),
1065-
ast::VstoreUniq => word(&mut s.s, "~"),
1066-
ast::VstoreBox => word(&mut s.s, "@"),
1067-
ast::VstoreSlice(ref r) => {
1068-
word(&mut s.s, "&");
1069-
print_opt_lifetime(s, r);
1070-
}
1071-
}
1072-
}
1073-
10741061
pub fn print_expr_vstore(s: &mut State, t: ast::ExprVstore) {
10751062
match t {
10761063
ast::ExprVstoreUniq => word(&mut s.s, "~"),

0 commit comments

Comments
 (0)