From e0d03fd524e38a8e0733ecc0ec1e43f9d498aaa5 Mon Sep 17 00:00:00 2001 From: Mark Mansi Date: Sat, 11 Aug 2018 11:39:10 -0500 Subject: [PATCH] oops --- src/librustc_lint/builtin.rs | 4 +--- 1 file changed, 1 insertion(+), 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)