ICE when path-exporting and using a macro
-generated macro_rules!
macro
#82504
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-decl_macro
`#![feature(decl_macro)]`
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.
The objective was to be able to feature some macro which would yield a
$self:ident
parameter with the def-site of a there-definedmacro
macro so as to mock the suggested$self
parameter on macros.Code
Playground with this simpler example
Original code & Playground
Meta
rustc --version --verbose
:Error output
Backtrace
cc @Aaron1011
The text was updated successfully, but these errors were encountered: