about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-31 20:36:40 -0700
committerbors <bors@rust-lang.org>2013-03-31 20:36:40 -0700
commitbd7eb7e0f906c83228f01c65ec669fb71f7a42df (patch)
treea5d7b474d26c7de8ba72f574468d6ac128393056 /src/libsyntax/parse/parser.rs
parentbe792589d0925f8f77c3b5f0fc91e1d2f7a5dfb6 (diff)
parente3327d3833e6b1ea4b23ecd3332b869ce82f1999 (diff)
downloadrust-bd7eb7e0f906c83228f01c65ec669fb71f7a42df.tar.gz
rust-bd7eb7e0f906c83228f01c65ec669fb71f7a42df.zip
auto merge of #5653 : brson/rust/warnings, r=brson
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 {