Skip to content
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

fix ICE with -Wrust-2021-incompatible-closure-captures #98644

Merged

Conversation

matthiaskrgr
Copy link
Member

Fixes #93117
Fixes #96258

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 28, 2022
@rust-highfive
Copy link
Collaborator

r? @lcnr

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 28, 2022
@matthiaskrgr matthiaskrgr force-pushed the drp_loc_span_err__2021_inc_clos_cap branch 3 times, most recently from b0546a3 to cac0fe8 Compare June 28, 2022 21:26
@rust-log-analyzer

This comment has been minimized.

@matthiaskrgr matthiaskrgr force-pushed the drp_loc_span_err__2021_inc_clos_cap branch from cac0fe8 to 7dc0489 Compare June 29, 2022 18:33
@matthiaskrgr matthiaskrgr changed the title [WIP] fix ICE with -Wrust-2021-incompatible-closure-captures fix ICE with -Wrust-2021-incompatible-closure-captures Jun 29, 2022
@lcnr
Copy link
Contributor

lcnr commented Jul 1, 2022

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jul 1, 2022

📌 Commit 7dc0489 has been approved by lcnr

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 1, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 1, 2022
Rollup of 6 pull requests

Successful merges:

 - rust-lang#97488 (Suggest blanket impl to the local traits)
 - rust-lang#98585 (Make `ThinBox<T>` covariant in `T`)
 - rust-lang#98644 (fix ICE with -Wrust-2021-incompatible-closure-captures)
 - rust-lang#98739 (fix grammar in useless doc comment lint)
 - rust-lang#98741 (Many small deriving cleanups)
 - rust-lang#98756 (Use const instead of function and make it private)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 90b296d into rust-lang:master Jul 1, 2022
@rustbot rustbot added this to the 1.64.0 milestone Jul 1, 2022
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jun 25, 2023
Fix test for rust-lang#96258

rust-lang#98644 did not properly test enabling the problematic lint as a warning due to improper use of `compile-flags:` (missing `:`). This makes it use `#![warn]` instead, like in the reproducer.

cc rust-lang#96258
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.
Projects
None yet
6 participants