ICE with malformed rustc_on_unimplemented
on impl
#104140
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.
Found with a modified fuzz-rustc
Code
ICE output
Backtrace
Expected output
I expected an error like "malformed
rustc_on_unimplemented
attribute input". (I do see this error message if I move the attribute to the trait item.)Regression
Stopped reporting the expected error in nightly-2021-08-28:
Became an ICE in nightly-2022-03-19:
delay_span_bug
was added in bb8d430 (Make ErrorReported impossible to construct outsiderustc_errors
#93222)Version
The text was updated successfully, but these errors were encountered: