diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 03b4c0c5ca1..8dd80be4f9c 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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 { |
