Skip to content

Commit

Permalink
Ignore unused_imports in tests/snapshots.rs.
Browse files Browse the repository at this point in the history
This is for the same reason that we ignore `dead_code`:

    // A lot of the code can be unused based on configuration flags,
    // the corresponding warnings aren't helpful.
  • Loading branch information
jimblandy authored and teoxoy committed Dec 12, 2022
1 parent 4f77cba commit 0197246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/snapshots.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// A lot of the code can be unused based on configuration flags,
// the corresponding warnings aren't helpful.
#![allow(dead_code)]
#![allow(dead_code, unused_imports)]

use std::{
fs,
Expand Down

0 comments on commit 0197246

Please sign in to comment.