about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMark Mansi <markm@cs.wisc.edu>2018-08-11 11:39:10 -0500
committerMark Mansi <markm@cs.wisc.edu>2018-08-27 12:40:16 -0500
commite0d03fd524e38a8e0733ecc0ec1e43f9d498aaa5 (patch)
tree7b1660ded3b095233136157652082eaa1b1f6833 /src
parent20723178cc788ec1e61487aab80933a604ccd9fa (diff)
oops
Diffstat (limited to 'src')
-rw-r--r--src/librustc_lint/builtin.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs
index 6d8a83d095d..856b50de762 100644
--- a/src/librustc_lint/builtin.rs
+++ b/src/librustc_lint/builtin.rs
@@ -46,7 +46,6 @@ use syntax::tokenstream::{TokenTree, TokenStream};
 use syntax::ast;
 use syntax::attr;
 use syntax::source_map::Spanned;
-use syntax::edition::Edition;
 use syntax::feature_gate::{AttributeGate, AttributeType, Stability, deprecated_attributes};
 use syntax_pos::{BytePos, Span, SyntaxContext};
 use syntax::symbol::keywords;
@@ -628,9 +627,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingDebugImplementations {
 
 declare_lint! {
     pub ANONYMOUS_PARAMETERS,
-    Allow,
-    "detects anonymous parameters",
     Warn,
+    "detects anonymous parameters"
 }
 
 /// Checks for use of anonymous parameters (RFC 1685)