mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-27 01:11:38 +00:00
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:
parent
13998f0482
commit
1526d5bad2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user