Remove feature(tool_lints) from tests

This commit is contained in:
flip1995 2018-10-02 10:44:49 +02:00 committed by Manish Goregaokar
parent dc2343c1a8
commit 5e9084ccc3
6 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(tool_lints)]
#![deny(unknown_lints)]
#[allow(clippy::almost_swapped)]

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(tool_lints)]
#![feature(rust_2018_preview)]
#![deny(unknown_lints)]

View File

@ -11,8 +11,8 @@
// aux-build:lint_tool_test.rs
// ignore-stage1
// compile-flags: --cfg foo
#![feature(plugin)]
#![feature(tool_lints)]
#![plugin(lint_tool_test)]
#![allow(dead_code)]
#![cfg_attr(foo, warn(test_lint))]

View File

@ -10,7 +10,7 @@
// Don't allow tool_lints, which aren't scoped
#![feature(tool_lints)]
#![deny(unknown_lints)]
#![deny(clippy)] //~ ERROR: unknown lint: `clippy`

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(tool_lints)]
#[warn(foo::bar)]
//~^ ERROR an unknown tool name found in scoped lint: `foo::bar`

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(tool_lints)]
#![deny(foo::bar)] //~ ERROR an unknown tool name found in scoped lint: `foo::bar`