Compile panic in nested empty proc_macro #99173
Labels
A-proc-macros
Area: Procedural macros
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
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 wrote two proc_macros in the same crate, one calling the other.
When the inner macro, named
ignore
in the example below, is invoked by the outer macro in theexample,
this_fails
, the build panics.Code
File
metamodel_macros/src/lib.rs
in a proc_macro crate namedmetamodel_macros
:File
metamodel_tests/src/lib.rs
in a normal library crate namedmetamodel_tests
:Meta
rustc --version --verbose
:This is the vanilla Ubuntu
rust-all
andrust-src
packages.Error output
Backtrace
The text was updated successfully, but these errors were encountered: