diff --git a/src/lib.rs b/src/lib.rs index 94f016234f9..b7840d0d27c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,7 +22,7 @@ #![warn(rust_2018_idioms)] #![warn(unused_lifetimes)] #![deny(clippy::pattern_type_mismatch)] -#![allow(clippy::needless_lifetimes)] +#![allow(clippy::needless_lifetimes, clippy::needless_borrows_for_generic_args)] extern crate rustc_apfloat; extern crate rustc_ast;