Ignore significant_drop_in_scrutinee clippy lint

error: temporary with significant drop in match scrutinee
      --> gen/build/src/intern.rs:22:26
       |
    22 |     InternedString(match set.get(s) {
       |                          ^^^^^^^^^^
       |
       = note: `-D clippy::significant-drop-in-scrutinee` implied by `-D clippy::all`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_in_scrutinee
This commit is contained in:
David Tolnay 2022-06-06 23:49:47 -07:00
parent 13998f0482
commit 1526d5bad2
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -68,6 +68,7 @@
clippy::or_fun_call,
clippy::redundant_else,
clippy::shadow_unrelated,
clippy::significant_drop_in_scrutinee,
clippy::similar_names,
clippy::single_match_else,
clippy::struct_excessive_bools,