about summary refs log tree commit diff
path: root/clippy_dev/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2023-01-12 19:48:13 +0100
committerPhilipp Krones <hello@philkrones.com>2023-01-12 19:48:13 +0100
commitd21616737b56681fdf19cdf9a9f8db16d0e87961 (patch)
tree657994927fb5985d32feeddcf5e1204c5952b4f6 /clippy_dev/src
parent5f8686ec3b598ca33b64c6e1cd31f72214b49e96 (diff)
downloadrust-d21616737b56681fdf19cdf9a9f8db16d0e87961.tar.gz
rust-d21616737b56681fdf19cdf9a9f8db16d0e87961.zip
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
Diffstat (limited to 'clippy_dev/src')
-rw-r--r--clippy_dev/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
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;