mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
Also add rustc_driver to clippy_utils
I'm not sure why this is necessary. It worked without this for me locally, but this fails in CI. The same was done in clippy_dev
This commit is contained in:
parent
616b6d2be1
commit
cd76d574e4
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ extern crate rustc_ast;
|
|||
extern crate rustc_ast_pretty;
|
||||
extern crate rustc_attr;
|
||||
extern crate rustc_data_structures;
|
||||
// The `rustc_driver` crate seems to be required in order to use the `rust_ast` crate.
|
||||
#[allow(unused_extern_crates)]
|
||||
extern crate rustc_driver;
|
||||
extern crate rustc_errors;
|
||||
extern crate rustc_hir;
|
||||
extern crate rustc_hir_typeck;
|
||||
|
|
Loading…
Reference in a new issue