From c526c51923b30d6c372c5a45a27f4caded53060d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Mon, 30 Oct 2017 18:21:23 -0700 Subject: [PATCH] Update clippy for rustc 1.23.0-nightly (f0fe716db 2017-10-30) --- clippy_lints/src/lib.rs | 1 + src/lib.rs | 1 + tests/ui/lint_pass.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 18361f54d..fdd02ba54 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -9,6 +9,7 @@ #![feature(stmt_expr_attributes)] #![feature(conservative_impl_trait)] #![feature(inclusive_range_syntax, range_contains)] +#![feature(macro_vis_matcher)] #![allow(unknown_lints, indexing_slicing, shadow_reuse, missing_docs_in_private_items)] #![recursion_limit="256"] diff --git a/src/lib.rs b/src/lib.rs index df692b7e6..8f0c6a632 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,7 @@ // error-pattern:cargo-clippy #![feature(plugin_registrar)] #![feature(rustc_private)] +#![feature(macro_vis_matcher)] #![allow(unknown_lints)] #![allow(missing_docs_in_private_items)] diff --git a/tests/ui/lint_pass.rs b/tests/ui/lint_pass.rs index 1990e137e..b576f72e8 100644 --- a/tests/ui/lint_pass.rs +++ b/tests/ui/lint_pass.rs @@ -1,5 +1,6 @@ #![feature(rustc_private)] +#![feature(macro_vis_matcher)] #![warn(lint_without_lint_pass)]