From d21616737b56681fdf19cdf9a9f8db16d0e87961 Mon Sep 17 00:00:00 2001 From: Philipp Krones Date: Thu, 12 Jan 2023 19:48:13 +0100 Subject: Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup --- clippy_dev/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clippy_dev/src') diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs index 80bb83af43b..e70488165b9 100644 --- a/clippy_dev/src/lib.rs +++ b/clippy_dev/src/lib.rs @@ -5,6 +5,9 @@ // warn on lints, that are included in `rust-lang/rust`s bootstrap #![warn(rust_2018_idioms, unused_lifetimes)] +// The `rustc_driver` crate seems to be required in order to use the `rust_lexer` crate. +#[allow(unused_extern_crates)] +extern crate rustc_driver; extern crate rustc_lexer; use std::path::PathBuf; -- cgit 1.4.1-3-g733a5