ICE when re-exporting proc macro from renamed crate (wasm32-unknown-unknown) #65267
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
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.
The compiler panics when trying to re-export a proc-macro, and the crate that contains this macro is renamed in the
Cargo.toml
:Fails when targeting
wasm32-unknown-unknown
, haven't tested any other targets though.The code here contains a minimal reproduction example:
https://github.com/tomusdrw/proc-macro-reexport
Meta
(but happens on 1.40-nightly too)
Backtrace:
The text was updated successfully, but these errors were encountered: