File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
branches/dist-snap/src/libsyntax Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
- refs/heads/dist-snap: acdc9987371092422dedf88bc8a0542e688986c5
9
+ refs/heads/dist-snap: 9d6f8cdefad70fe670147a4dc10a72e53c4e261a
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
12
12
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change @@ -456,12 +456,12 @@ impl Visitor<()> for Ctx {
456
456
}
457
457
458
458
pub fn map_crate ( diag : @SpanHandler , c : & Crate ) -> map {
459
- let cx = @ mut Ctx {
459
+ let mut cx = Ctx {
460
460
map : @RefCell :: new ( HashMap :: new ( ) ) ,
461
461
path : RefCell :: new ( ~[ ] ) ,
462
462
diag : diag,
463
463
} ;
464
- visit:: walk_crate ( cx, c, ( ) ) ;
464
+ visit:: walk_crate ( & mut cx, c, ( ) ) ;
465
465
cx. map
466
466
}
467
467
@@ -475,7 +475,7 @@ pub fn map_decoded_item(diag: @SpanHandler,
475
475
// I believe it is ok for the local IDs of inlined items from other crates
476
476
// to overlap with the local ids from this crate, so just generate the ids
477
477
// starting from 0.
478
- let cx = @ mut Ctx {
478
+ let mut cx = Ctx {
479
479
map : map,
480
480
path : RefCell :: new ( path. clone ( ) ) ,
481
481
diag : diag,
@@ -499,7 +499,7 @@ pub fn map_decoded_item(diag: @SpanHandler,
499
499
}
500
500
501
501
// visit the item / method contents and add those to the map:
502
- ii. accept ( ( ) , cx) ;
502
+ ii. accept ( ( ) , & mut cx) ;
503
503
}
504
504
505
505
pub fn node_id_to_str ( map : map , id : NodeId , itr : @ident_interner ) -> ~str {
You can’t perform that action at this time.
0 commit comments