ICE : Proc macro : If Ident is invalid, panic occur #94913
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.
Summary
First off, I'll start by saying, I can see the obviousness of how an empty
Ident
would cause an ICE. But an ICE is an ICE, so I'm reporting it regardless. While I haven't tested, I can bet that similar errors for empty other stuff might also exist.Code
Proc macro:
cargo.toml
lib.rs
bin crate:
cargo.toml
main.rs
Meta
rustc --version --verbose
:Also happens on stable 1.59.0
Error output
Backtrace
The text was updated successfully, but these errors were encountered: