-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix FormatArgs
storage when -Zthreads
> 1
#12567
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
dcc2b5c
to
3758163
Compare
☔ The latest upstream changes (presumably #12624) made this pull request unmergeable. Please resolve the merge conflicts. |
3758163
to
264a19e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nice improvement of that code. One minor comment, otherwise LGTM. r=me once addressed.
264a19e
to
c187bff
Compare
@bors r+ Thanks! |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
1 similar comment
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request. |
format_args: rust-lang/rust-clippy#12567 Signed-off-by: xxchan <xxchan22f@gmail.com>
Fixes #11886
The initial way I thought of was a little gross so I never opened a PR for it, I thought of a nicer way today that no longer involves any
thread_local
s orstatic
srustc_data_strucutres::sync::{Lrc, OnceLock}
implementDynSend
+DynSync
so we can pass them to the lint passes that need the storagechangelog: none
r? @flip1995