about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-03-31 19:27:51 -0700
committerBrian Anderson <banderson@mozilla.com>2013-03-31 20:22:47 -0700
commite3327d3833e6b1ea4b23ecd3332b869ce82f1999 (patch)
tree6b101b93a898c80bd075ddc5870648230e097b1f /src/libsyntax/parse/parser.rs
parentf336afd45990f3799f0fa5667a992c2c06789fc3 (diff)
downloadrust-e3327d3833e6b1ea4b23ecd3332b869ce82f1999.tar.gz
rust-e3327d3833e6b1ea4b23ecd3332b869ce82f1999.zip
Fix warnings
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
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 {