useless_attribute: allow dead_code
Closes https://github.com/rust-lang/rust-clippy/issues/4467
This commit is contained in:
parent
17d2ab8f62
commit
e9761bdc01
3 changed files with 9 additions and 0 deletions
|
|
@ -92,3 +92,7 @@ use module::{Struct};
|
|||
fn main() {
|
||||
test_indented_attr();
|
||||
}
|
||||
|
||||
// Regression test for https://github.com/rust-lang/rust-clippy/issues/4467
|
||||
#[allow(dead_code)]
|
||||
use std::collections as puppy_doggy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue