We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47772bc commit aa9a992Copy full SHA for aa9a992
src/librustc/middle/typeck/check/mod.rs
@@ -722,11 +722,6 @@ impl FnCtxt {
722
}
723
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
pub fn block_region(&self) -> ty::Region {
731
ty::re_scope(self.region_lb)
732
src/libsyntax/parse/parser.rs
@@ -1063,13 +1063,6 @@ impl Parser {
1063
1064
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
/// Parses a single lifetime
1074
// matches lifetime = ( LIFETIME ) | ( IDENT / )
1075
pub fn parse_lifetime(&self) -> ast::Lifetime {
0 commit comments