From 2ec6afb6d89ce61ac9bb82ba77dd91b686f543cb Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 30 Sep 2021 02:25:25 -0400 Subject: [PATCH] Install rustc_ast crate for the clippy CI job error[E0463]: can't find crate for `rustc_ast` --> tests/test_round_trip.rs:6:1 | 6 | extern crate rustc_ast; | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate | = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d803b0d864..616fee7aa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,4 +115,6 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@clippy + with: + components: rustc-dev - run: cargo clippy --all-features --tests -- -Dclippy::all -Dclippy::pedantic