diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-03-31 19:27:51 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-03-31 20:22:47 -0700 |
| commit | e3327d3833e6b1ea4b23ecd3332b869ce82f1999 (patch) | |
| tree | 6b101b93a898c80bd075ddc5870648230e097b1f /src/libsyntax/parse/parser.rs | |
| parent | f336afd45990f3799f0fa5667a992c2c06789fc3 (diff) | |
| download | rust-e3327d3833e6b1ea4b23ecd3332b869ce82f1999.tar.gz rust-e3327d3833e6b1ea4b23ecd3332b869ce82f1999.zip | |
Fix warnings
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 353e3014cf7..ceafecde3a0 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3777,7 +3777,7 @@ pub impl Parser { }; } - fn parse_enum_def(&self, generics: &ast::Generics) -> enum_def { + fn parse_enum_def(&self, _generics: &ast::Generics) -> enum_def { let mut variants = ~[]; let mut all_nullary = true, have_disr = false; while *self.token != token::RBRACE { |
