libsyntax: Remove duplicate methods.

This commit is contained in:
Luqman Aden 2013-06-12 02:45:07 -04:00
parent 47772bcb73
commit aa9a992f3e
2 changed files with 0 additions and 12 deletions

View File

@ -722,11 +722,6 @@ impl FnCtxt {
}
}
pub fn expr_to_str(&self, expr: @ast::expr) -> ~str {
fmt!("expr(%?:%s)", expr.id,
pprust::expr_to_str(expr, self.tcx().sess.intr()))
}
pub fn block_region(&self) -> ty::Region {
ty::re_scope(self.region_lb)
}

View File

@ -1063,13 +1063,6 @@ impl Parser {
}
}
pub fn token_is_lifetime(&self, tok: &token::Token) -> bool {
match *tok {
token::LIFETIME(_) => true,
_ => false
}
}
/// Parses a single lifetime
// matches lifetime = ( LIFETIME ) | ( IDENT / )
pub fn parse_lifetime(&self) -> ast::Lifetime {