Skip to content

Commit 97acabe

Browse files
committed
Test for ignoring let_underscore_must_use
1 parent c211cea commit 97acabe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ui/let_underscore_must_use.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,7 @@ fn main() {
8888
let _ = a.map(|_| ());
8989

9090
let _ = a;
91+
92+
#[allow(clippy::let_underscore_must_use)]
93+
let _ = a;
9194
}

0 commit comments

Comments
 (0)