Skip to content

Commit

Permalink
Test for ignoring let_underscore_must_use
Browse files Browse the repository at this point in the history
  • Loading branch information
pmk21 committed Apr 1, 2020
1 parent c211cea commit 97acabe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ui/let_underscore_must_use.rs
Expand Up @@ -88,4 +88,7 @@ fn main() {
let _ = a.map(|_| ());

let _ = a;

#[allow(clippy::let_underscore_must_use)]
let _ = a;
}

0 comments on commit 97acabe

Please sign in to comment.