mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
Ignore let_underscore_drop clippy pedantic lint in test suite
error: non-binding `let` on a type that implements `Drop` --> tests/regression/issue1108.rs:4:5 | 4 | let _ = syn::parse_file(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::let-underscore-drop` implied by `-D clippy::pedantic` = help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_drop
This commit is contained in:
parent
c585502d81
commit
548d2d98b9
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::let_underscore_drop)]
|
||||
|
||||
mod regression {
|
||||
automod::dir!("tests/regression");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user