rustc panic when using multiple #[default] tags #118119
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
I was trying to verify the assumption about the
#[default]
tag in this comment, I rancargo test
with my changes to the macro and it worked successfully, then I added another#[default]
tag (line 205 in tests/sample.rs) and rancargo test
again and rustc panicked. This is the exactly what was ran when the panic occurred.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: