-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 6 pull requests #107106
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 6 pull requests #107106
Conversation
This fixes rust-lang#102383 by remembering to visit the expression in `break expr` when building the drop tracking CFG. Missing this step was causing an off-by-one error which meant after a number of awaits we'd be looking for dropped values at the wrong point in the code. Additionally, this changes the order of traversal for assignment expressions to visit the rhs and then the lhs. This matches what is done elsewhere.
…r=wesleywiser [drop tracking] Visit break expressions This fixes rust-lang#102383 by remembering to visit the expression in `break expr` when building the drop tracking CFG. Missing this step was causing an off-by-one error which meant after a number of awaits we'd be looking for dropped values at the wrong point in the code. Additionally, this changes the order of traversal for assignment expressions to visit the rhs and then the lhs. This matches what is done elsewhere. Finally, this improves some of the debugging output (for example, the CFG visualizer) to make it easier to figure out these sorts of issues.
…=jackh726 Fix known-bug annotations r? ``@Nilstrieb``
Tweak "borrow closure argument" suggestion Fix rust-lang#45727.
…er, r=petrochenkov add raw identifier for keyword in suggestion fix rust-lang#106841
Clippy: Make sure to include in beta: Move `unchecked_duration_subtraction` to pedantic This was merged one day too late in order to make it into the last sync. But since we talked about moving this lint to `pedantic` in the meeting, I'd like to get this in rather sooner than later. rust-lang/rust-clippy#10194 r? ``@Manishearth``
autoderive Subdiagnostic for AddtoExternBlockSuggestion
@bors r+ rollup=never p=8 |
⌛ Testing commit c44c60c with merge e85ac8f608190f7dde8a37de6c451781437f90a9... |
💔 Test failed - checks-actions |
@bors retry |
Isn't it unneeded now that there is #107105? |
@GuillaumeGomez there are no overlapping PRs in these two :) |
Oh indeed. Nevermind! |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 04a41f889f In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (a6269da): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
Successful merges:
unchecked_duration_subtraction
to pedantic #107065 (Clippy: Make sure to include in beta: Moveunchecked_duration_subtraction
to pedantic)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup