Skip to content

type parameter Self/#0 (Self/0) out of range when substituting #9675

Closed
@bigdogs

Description

@bigdogs

cargo clippy runs failed on nightly 2022-10-17. Not sure if this is a known issue.

error: internal compiler error: compiler\rustc_middle\src\ty\subst.rs:695:9: type parameter `Self/#0` (Self/0) out of range when substituting, substs=[]

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/06f049a35535d26d5c8426d4f782f78277b41aa1\compiler\rustc_errors\src\lib.rs:1516:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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.66 (06f049a3 2022-10-17)

query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack

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