-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 3 pull requests #124426
Rollup of 3 pull requests #124426
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b52e4bd - Browse repository at this point
Copy the full SHA b52e4bdView commit details -
thread_local: use less &mut T in LazyKeyInner::take
Instead, use raw pointers to accomplish internal mutability throughout.
Configuration menu - View commit details
-
Copy full SHA for 538ddb0 - Browse repository at this point
Copy the full SHA 538ddb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43f21a6 - Browse repository at this point
Copy the full SHA 43f21a6View commit details -
ast: Generalize item kind visiting
And avoid duplicating logic for visiting `Item`s with different kinds (regular, associated, foreign).
Configuration menu - View commit details
-
Copy full SHA for 5be9fdd - Browse repository at this point
Copy the full SHA 5be9fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7517a4f - Browse repository at this point
Copy the full SHA 7517a4fView commit details
Commits on Apr 27, 2024
-
thread_local: refine LazyKeyInner::take safety doc
Co-authored-by: joboet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c63b0ce - Browse repository at this point
Copy the full SHA c63b0ceView commit details -
Rollup merge of rust-lang#124370 - ShE3py:substitution-part-offset, r…
…=fee1-dead Fix substitution parts having a shifted underline in some cases If two suggestions parts are side by side, the underline's offset: (WIP PR as an example, not yet pushed) ``` error: expected a pattern, found an expression --> ./main.rs:4:9 | 4 | 1 + 2 => 3 | ^^^^^ arbitrary expressions are not allowed in patterns | help: check the value in an arm guard | 4 | n if n == 1 + 2 => 3 | ~ +++++++++++++ ``` The emitter didn't take into account that the string had shrunk/grown if two substitution parts were side-by-side (surprisingly, there was only one case in the ui testsuite.) ``` help: check the value in an arm guard | 4 | n if n == 1 + 2 => 3 | ~ +++++++++++++ ``` `@rustbot` label +A-suggestion-diagnostics
Configuration menu - View commit details
-
Copy full SHA for d288cd2 - Browse repository at this point
Copy the full SHA d288cd2View commit details -
Rollup merge of rust-lang#124382 - petrochenkov:itemvisit, r=lcnr
ast: Generalize item kind visiting And avoid duplicating logic for visiting `Item`s with different kinds (regular, associated, foreign). The diff is better viewed with whitespace ignored.
Configuration menu - View commit details
-
Copy full SHA for 185c80f - Browse repository at this point
Copy the full SHA 185c80fView commit details -
Rollup merge of rust-lang#124387 - workingjubilee:use-raw-pointers-in…
…-thread-locals, r=joboet thread_local: be excruciatingly explicit in dtor code Use raw pointers to accomplish internal mutability, and clearly split references where applicable. This reduces the likelihood that any of these parts are misunderstood, either by humans or the compiler's optimizations. Fixes rust-lang#124317 r? `@joboet`
Configuration menu - View commit details
-
Copy full SHA for 5045321 - Browse repository at this point
Copy the full SHA 5045321View commit details