-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc panics with 'no label after fn' when attempting to create a thread local with a generic parameter #97946
Comments
Minimal fix: replace the Better fix: remove This function is used in 2 places: late resolution diagnostics and typechecking.
|
@rustbot claim |
Sorry, finding the "better fix" a bit more involved than originally anticipated and don't have enough time to delve into this right now. Unassigning in case someone else wants to pick it up, but also happy to return to it when I have more time. |
@rustbot claim |
@rustbot release-assignment |
@rustbot claim |
Fixed by #98609 |
Code
Playgound Permalink
Meta
rustc --version --verbose
:I checked with the following rustc beta and nightly versions as well. The issue exists in both of them.
Beta:
Nightly:
Error output
Output and backtraces are from the stable version.
Error Output
Backtrace
The text was updated successfully, but these errors were encountered: