-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
rustc_borrowck: Don't suggest changing closure param type not under user control #149107
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
Merged
+98
−15
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b49ff49 to
6c75dee
Compare
This comment has been minimized.
This comment has been minimized.
…ser control All removed suggestions in tests were invalid.
6c75dee to
f186e53
Compare
Collaborator
jieyouxu
approved these changes
Nov 28, 2025
Member
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.
Member
|
@bors r+ rollup |
Collaborator
bors
added a commit
that referenced
this pull request
Nov 28, 2025
Rollup of 5 pull requests Successful merges: - #149087 (Stabilize `unchecked_neg` and `unchecked_shifts`) - #149107 (rustc_borrowck: Don't suggest changing closure param type not under user control) - #149323 (Use cg_llvm's target_config in miri) - #149380 (Run `eval_config_entry` on all branches so we always emit lints) - #149394 (add regression test for guard patterns liveness ICE) r? `@ghost` `@rustbot` modify labels: rollup
rust-timer
added a commit
that referenced
this pull request
Nov 28, 2025
Rollup merge of #149107 - Enselic:option-inspect-mutation, r=jieyouxu rustc_borrowck: Don't suggest changing closure param type not under user control This changes output of a handful of tests more than the one added in the first commit, but as far as I can tell, all removed suggestions were invalid. Closes #128381 which is **D-invalid-suggestion** with two 👍-votes.
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this pull request
Nov 28, 2025
Rollup of 5 pull requests Successful merges: - rust-lang/rust#149087 (Stabilize `unchecked_neg` and `unchecked_shifts`) - rust-lang/rust#149107 (rustc_borrowck: Don't suggest changing closure param type not under user control) - rust-lang/rust#149323 (Use cg_llvm's target_config in miri) - rust-lang/rust#149380 (Run `eval_config_entry` on all branches so we always emit lints) - rust-lang/rust#149394 (add regression test for guard patterns liveness ICE) r? `@ghost` `@rustbot` modify labels: rollup
github-actions bot
pushed a commit
to rust-lang/rust-analyzer
that referenced
this pull request
Dec 1, 2025
Rollup of 5 pull requests Successful merges: - rust-lang/rust#149087 (Stabilize `unchecked_neg` and `unchecked_shifts`) - rust-lang/rust#149107 (rustc_borrowck: Don't suggest changing closure param type not under user control) - rust-lang/rust#149323 (Use cg_llvm's target_config in miri) - rust-lang/rust#149380 (Run `eval_config_entry` on all branches so we always emit lints) - rust-lang/rust#149394 (add regression test for guard patterns liveness ICE) r? `@ghost` `@rustbot` modify labels: rollup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changes output of a handful of tests more than the one added in the first commit, but as far as I can tell, all removed suggestions were invalid.
Closes #128381 which is D-invalid-suggestion with two 👍-votes.