ICE when using rustdoc-scrape-examples on example that uses proc macros #94926
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.
Code
Use the "next" branch at Relm4: https://github.com/AaronErhardt/Relm4/tree/next
Reproduce:
Doesn't panic without
-Z rustdoc-scrape-examples=examples
.I assume it is caused by a proc-macro because all other examples that don't use the
#[component]
macro seem to be scraped just fine.Meta
Error output
If I read the code in librustdoc correctly, the code should have been rejected in the first place because it comes from a proc-macro, yet it wasn't and then the assertion failed.
Please contact me if you need more details.
Backtrace
The text was updated successfully, but these errors were encountered: