Code attempting to use thread_local!
with generics crash the compiler
#98244
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
Code can be found in this repo.
I know this is not supported. (BTW when will thread_local with generic be supported?)
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: