rustc crash when trying to reference static export from another crate #24843
Labels
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
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.
https://gist.github.com/Eljay/24d13b4a27c4f6735b05
rustc just crashes with no useful errors. I guess you're not supposed to be able to do this anyway and it works if either are const instead of static but it shouldn't crash.
Tested with latest nightly and 1.0.0-beta.2 on windows 64-bit.
The text was updated successfully, but these errors were encountered: