-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
ICE: unexpected concrete region in borrowck: ReStatic #87455
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-high |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jul 29, 2021
Mir borrowck does not generate lifetime variables for 'static lifetimes during opaque type resolution Fixes rust-lang#87455 This situation was unreachable before rust-lang#87287 as we used to just grab the resolved opaque type from typeck and replaced all regions with new inference vars. After rust-lang#87287 we let the `InferCx` in mir borrowck figure out the opaque type all by itself (which it already did before, but it only used the result to sanity check with the typeck result).
fee1-dead
added a commit
to fee1-dead-contrib/rust
that referenced
this issue
Jul 29, 2021
Mir borrowck does not generate lifetime variables for 'static lifetimes during opaque type resolution Fixes rust-lang#87455 This situation was unreachable before rust-lang#87287 as we used to just grab the resolved opaque type from typeck and replaced all regions with new inference vars. After rust-lang#87287 we let the `InferCx` in mir borrowck figure out the opaque type all by itself (which it already did before, but it only used the result to sanity check with the typeck result).
Still needs a backport |
(assigning self to ensure backport happens.) |
Also seen in the latest crater run (#87749):
Along with a number of others. |
Merged
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 21, 2021
…acrum Backport PR 87483 Backport of PR rust-lang#87483: "Mir borrowck does not generate lifetime variables for 'static lifetimes during opaque type resolution" Fix rust-lang#87455: "ICE: unexpected concrete region in borrowck: ReStatic"
Backport (#88190) was merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Trying to build
warp
0.2.5 with latest nightly results in an ICE.Bisected the regression to #87287, cc @oli-obk.
I have tried to minimize it. This still requires
futures
0.3, I'm not sure how to minimize if further.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: