Skip to content

Commit

Permalink
Disable clippy CI due to clippy crash
Browse files Browse the repository at this point in the history
Clippy crash: rust-lang/rust-clippy#7423

    thread 'rustc' panicked at '`LateContext::typeck_results` called outside of body', src/tools/clippy/clippy_lints/src/use_self.rs:213:20
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

    error: internal compiler error: unexpected panic

    note: the compiler unexpectedly panicked. this is a bug.

    query stack during panic:
    #0 [analysis] running analysis passes on this crate
    end of query stack
  • Loading branch information
dtolnay committed Jul 3, 2021
1 parent e9bd2d2 commit b625b3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
#if: github.event_name != 'pull_request'
if: false # Clippy crash: https://github.com/rust-lang/rust-clippy/issues/7423
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
Expand Down

0 comments on commit b625b3f

Please sign in to comment.