Skip to content

Commit

Permalink
Install rustc_ast crate for the clippy CI job
Browse files Browse the repository at this point in the history
    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`
  • Loading branch information
dtolnay committed Sep 30, 2021
1 parent 37b3aaa commit 2ec6afb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2ec6afb

Please sign in to comment.