Skip to content

Conversation

estebank
Copy link
Contributor

@estebank estebank commented Aug 5, 2021

When suggesting dereferencing something that can be iterable in a for
loop, erase lifetimes and use a fresh ty::ParamEnv to avoid 'region
constraints already solved' panic.

Fix #87657, fix #87709, fix #87651.

@rust-highfive
Copy link
Contributor

r? @davidtwco

(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 Aug 5, 2021
@estebank
Copy link
Contributor Author

r? @oli-obk

@rust-highfive rust-highfive assigned oli-obk and unassigned davidtwco Aug 10, 2021
@estebank estebank force-pushed the erase-lifetimes-in-suggestion branch 2 times, most recently from f80d1bf to d3a3bb4 Compare August 12, 2021 10:13
@rust-log-analyzer

This comment has been minimized.

When suggesting dereferencing something that can be iterable in a `for`
loop, erase lifetimes and use a fresh `ty::ParamEnv` to avoid 'region
constraints already solved' panic.

Fix  rust-lang#87657.
@estebank estebank force-pushed the erase-lifetimes-in-suggestion branch from d3a3bb4 to a0bf7d2 Compare August 12, 2021 10:24
@oli-obk
Copy link
Contributor

oli-obk commented Aug 13, 2021

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 13, 2021

📌 Commit a0bf7d2 has been approved by oli-obk

@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 Aug 13, 2021
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 13, 2021
…ion, r=oli-obk

Avoid ICE caused by suggestion

When suggesting dereferencing something that can be iterable in a `for`
loop, erase lifetimes and use a fresh `ty::ParamEnv` to avoid 'region
constraints already solved' panic.

Fix rust-lang#87657, fix rust-lang#87709, fix rust-lang#87651.
This was referenced Aug 13, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 13, 2021
…laumeGomez

Rollup of 4 pull requests

Successful merges:

 - rust-lang#87795 (Avoid ICE caused by suggestion)
 - rust-lang#87966 (Fix `command-create-pidfd` test inside unprivileged Docker containers)
 - rust-lang#87969 (Revert "Rollup merge of rust-lang#87779 - Aaron1011:stmt-ast-id, r=petrochenkov")
 - rust-lang#88005 (Add rustdoc GUI test for headers)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 717f9e3 into rust-lang:master Aug 13, 2021
@rustbot rustbot added this to the 1.56.0 milestone Aug 13, 2021
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.
Projects
None yet
7 participants