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
@ -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…
x
Reference in New Issue
Block a user