File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
branches/auto/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 @@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
13
13
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
14
14
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
15
15
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16
- refs/heads/auto: 74db87b99d48f318e96acb91482599b906be0a7e
16
+ refs/heads/auto: 3a01d0f1e3ab88a8b891a5cfeb552a78cbf69670
17
17
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
18
18
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
19
19
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
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