File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
librustc/middle/typeck/check Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -722,11 +722,6 @@ impl FnCtxt {
722722 }
723723 }
724724
725- pub fn expr_to_str ( & self , expr : @ast:: expr ) -> ~str {
726- fmt ! ( "expr(%?:%s)" , expr. id,
727- pprust:: expr_to_str( expr, self . tcx( ) . sess. intr( ) ) )
728- }
729-
730725 pub fn block_region ( & self ) -> ty:: Region {
731726 ty:: re_scope ( self . region_lb )
732727 }
Original file line number Diff line number Diff line change @@ -1063,13 +1063,6 @@ impl Parser {
10631063 }
10641064 }
10651065
1066- pub fn token_is_lifetime ( & self , tok : & token:: Token ) -> bool {
1067- match * tok {
1068- token:: LIFETIME ( _) => true ,
1069- _ => false
1070- }
1071- }
1072-
10731066 /// Parses a single lifetime
10741067 // matches lifetime = ( LIFETIME ) | ( IDENT / )
10751068 pub fn parse_lifetime ( & self ) -> ast:: Lifetime {
You can’t perform that action at this time.
0 commit comments