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 {
722
722
}
723
723
}
724
724
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
-
730
725
pub fn block_region ( & self ) -> ty:: Region {
731
726
ty:: re_scope ( self . region_lb )
732
727
}
Original file line number Diff line number Diff line change @@ -1063,13 +1063,6 @@ impl Parser {
1063
1063
}
1064
1064
}
1065
1065
1066
- pub fn token_is_lifetime ( & self , tok : & token:: Token ) -> bool {
1067
- match * tok {
1068
- token:: LIFETIME ( _) => true ,
1069
- _ => false
1070
- }
1071
- }
1072
-
1073
1066
/// Parses a single lifetime
1074
1067
// matches lifetime = ( LIFETIME ) | ( IDENT / )
1075
1068
pub fn parse_lifetime ( & self ) -> ast:: Lifetime {
You can’t perform that action at this time.
0 commit comments