mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
548d2d98b9
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
6 lines
98 B
Rust
6 lines
98 B
Rust
#![allow(clippy::let_underscore_drop)]
|
|
|
|
mod regression {
|
|
automod::dir!("tests/regression");
|
|
}
|