diff options
| author | bors <bors@rust-lang.org> | 2013-06-12 01:19:38 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-12 01:19:38 -0700 |
| commit | 135ba946a233c1d32b98943180d3eaacc9ff26f2 (patch) | |
| tree | 856dd904585d2f83a5e9e46c0d9461e102f8db20 /src/libsyntax/parse | |
| parent | 4a52ff078623137ac451ff9ed0bfa145183bfa56 (diff) | |
| parent | aa9a992f3e4134f06bd005fb3299688ac6314659 (diff) | |
| download | rust-135ba946a233c1d32b98943180d3eaacc9ff26f2.tar.gz rust-135ba946a233c1d32b98943180d3eaacc9ff26f2.zip | |
auto merge of #7064 : luqmana/rust/issue-7062, r=sanxiyn
Fixes #7062
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 { |
