Skip to content

thread 'rustc' panicked at 'Not a type: DefIndex(4344)', compiler/rustc_metadata/src/rmeta/decoder.rs:908:32 #6855

Closed
@teymour-aldridge

Description

@teymour-aldridge

Clippy paniced while running.

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.52 (45b3c28 2021-03-04)

query stack during panic:
#0 [type_of] computing type of `rocket::form::FromForm::Context`
#1 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `main`

This was in a Github workflow run here: https://github.com/lovelace-edu/lovelace/runs/2043017937 (the relevant pull request is https://github.com/lovelace-edu/lovelace/pull/114 if that helps to find out where the bug comes from).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-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