Attribute "[deprecated()]": thread 'rustc' panicked at 'called Option::unwrap()
on a None
value'
#66340
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
C-bug
Category: This is a bug.
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.
Steps to Reproduce
Compiler Output A
This happens when you run above code without calling
foo();
.Compiler Output B
This happens when you run above code verbatim.
Expected Behaviour
I would expect Compiler Output A in both cases.
Backtrace
Environment
Win10, cygwin
Why Would You Even Do This?
I had no internet connection at the time and was trying to achieve
#[deprecated(note="test")]
I don't find that crash annoying, but since the message asked me to report it, here I am. Enjoy :)
The text was updated successfully, but these errors were encountered: