ICE: Clippy-Pedantic: can't get the span of an arbitrary parsed attribute: Parsed(Repr([(ReprInt(UnsignedInt(U8)) #137664
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I updated to rustc 1.87.0-nightly (85abb27 2025-02-25) and run clippy
cargo +nightly clippy -- -D clippy::pedantic
.Without the
pedantic
settings clippy exits normal.Also tried both editions 2021 and 2024. Same result.
Code
See playground: https://play.rust-lang.org/?version=nightly&mode=release&edition=2024&gist=e92ed1cd9ada39060423601c570964a8
Click on Tools->Clippy to see the error.
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: