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:
David Tolnay 2021-12-22 15:31:43 -08:00
parent c585502d81
commit 548d2d98b9
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1,3 +1,5 @@
#![allow(clippy::let_underscore_drop)]
mod regression {
automod::dir!("tests/regression");
}