Skip to content

failed to create span for type parameters, src/tools/clippy/clippy_lints/src/implicit_hasher.rs:175:34 #7712

@alexander-jackson

Description

@alexander-jackson

This originally failed in CI here, however it also fails locally with the same error.

Meta

alexander@cinnamon ~/D/U/P/r/blackboards> rustc -Vv
rustc 1.57.0-nightly (308dffd25 2021-09-22)
binary: rustc
commit-hash: 308dffd25cb55bbb4a1fbee9822cf82c6a5d012d
commit-date: 2021-09-22
host: x86_64-apple-darwin
release: 1.57.0-nightly
LLVM version: 13.0.0

Error Output

alexander@cinnamon ~/D/U/P/r/blackboards> cargo clippy -- -D warnings
    Checking blackboards v0.1.0 (/Users/alexander/Documents/University/Programming/rust/blackboards)
thread 'rustc' panicked at 'failed to create span for type parameters', src/tools/clippy/clippy_lints/src/implicit_hasher.rs:175:34
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.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.57 (308dffd2 2021-09-22)

query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `blackboards`

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions