File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
branches/dist-snap/src/libsyntax Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: 189b7332968972f34cdbbbd9b62d97ababf53059
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: 74db87b99d48f318e96acb91482599b906be0a7e
9
+ refs/heads/dist-snap: 3a01d0f1e3ab88a8b891a5cfeb552a78cbf69670
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 @@ -15,7 +15,6 @@ use ast_util::PostExpansionMethod;
15
15
use codemap:: { DUMMY_SP , Span , Spanned } ;
16
16
use fold:: Folder ;
17
17
use parse:: token;
18
- use parse:: ParseSess ;
19
18
use print:: pprust;
20
19
use visit:: { mod, Visitor } ;
21
20
@@ -251,7 +250,6 @@ pub struct Map<'ast> {
251
250
}
252
251
253
252
impl < ' ast > Map < ' ast > {
254
- impl Map {
255
253
fn entry_count ( & self ) -> uint {
256
254
self . map . borrow ( ) . len ( )
257
255
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use parse::attr::ParserAttr;
17
17
use parse:: parser:: Parser ;
18
18
use ptr:: P ;
19
19
20
- use std:: cell:: RefCell ;
20
+ use std:: cell:: { Cell , RefCell } ;
21
21
use std:: io:: File ;
22
22
use std:: rc:: Rc ;
23
23
use std:: str;
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ struct ShowSpanVisitor<'a> {
22
22
span_diagnostic : & ' a diagnostic:: SpanHandler ,
23
23
}
24
24
25
- impl < ' a > Visitor < ( ) > for ShowSpanVisitor < ' a > {
26
- fn visit_expr ( & mut self , e : & ast:: Expr , _ : ( ) ) {
25
+ impl < ' a , ' v > Visitor < ' v > for ShowSpanVisitor < ' a > {
26
+ fn visit_expr ( & mut self , e : & ast:: Expr ) {
27
27
self . span_diagnostic . span_note ( e. span , "expression" ) ;
28
- visit:: walk_expr ( self , e, ( ) ) ;
28
+ visit:: walk_expr ( self , e) ;
29
29
}
30
30
31
31
fn visit_mac ( & mut self , macro : & ast:: Mac ) {
You can’t perform that action at this time.
0 commit comments