mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
add regression test
This commit is contained in:
parent
14d2cd0b0a
commit
6dd003ac39
1 changed files with 4 additions and 0 deletions
|
@ -7,4 +7,8 @@
|
||||||
//~| SUGGESTION #![allow(dead_code)]
|
//~| SUGGESTION #![allow(dead_code)]
|
||||||
extern crate clippy_lints;
|
extern crate clippy_lints;
|
||||||
|
|
||||||
|
// don't lint on unused_import for `use` items
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
use std::collections;
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
|
Loading…
Reference in a new issue