We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unreachable!
$crate::unreachable!
Commit 36c9045 introduced two lines that say unreachable!(), which breaks this code (playground):
unreachable!()
#![no_implicit_prelude] ::std::thread_local! {static Q: () = (); }
I believe they need to say $crate::unreachable! instead.
Also, if there isn't one already, we should create a regression test for this - #![no_implicit_prelude] seems easy to break by accident.
The text was updated successfully, but these errors were encountered:
Fix thread_local! macro to be compatible with no_implicit_prelude
thread_local!
no_implicit_prelude
1f232b8
Fixes issue rust-lang#95533
Rollup merge of rust-lang#95557 - niluxv:issue-95533, r=dtolnay
6c3b33d
Fix `thread_local!` macro to be compatible with `no_implicit_prelude` Fixes issue rust-lang#95533.
ebd42a8
dc11de6
Fixed by #95557, now merged into master so this can be closed I think.
Sorry, something went wrong.
No branches or pull requests
Commit 36c9045 introduced two lines that say
unreachable!()
, which breaks this code (playground):I believe they need to say
$crate::unreachable!
instead.Also, if there isn't one already, we should create a regression test for this - #![no_implicit_prelude] seems easy to break by accident.
The text was updated successfully, but these errors were encountered: