Skip to content

'rustc' panicked at 'Box<dyn Any>'. Error when making advent of code scripts #10052

Open
@Bryson14

Description

@Bryson14

Rust Version : rustc 1.65.0 (897e37553 2022-11-02)
Clippy version: clippy 0.1.65 (897e3755 2022-11-02)
Github Tag

error: internal compiler error: src\tools\clippy\clippy_utils\src\consts.rs:134:22: Not an int type
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/897e37553bba8b42751c67658967889d11ecd120\compiler\rustc_errors\src\lib.rs:1462:9
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.65 (897e3755 2022-11-02)

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

When running cargo clippy in directory RustLangFun\advent_of_code_2022>, the error was thrown.

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