-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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: cannot relate bound region: ReLateBound #82612
Labels
A-lifetimes
Area: lifetime related
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
cart
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Feb 27, 2021
@rustbot label regression-from-stable-to-nightly |
rustbot
added
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Feb 28, 2021
Bisection result searched nightlies: from nightly-2021-02-22 to nightly-2021-02-28 bisected with cargo-bisect-rustc v0.6.0Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --preserve --regress ice |
Caused by #81769: rust/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs Lines 487 to 491 in 7c3a914
|
apiraino
removed
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Apr 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-lifetimes
Area: lifetime related
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
While writing a SparseArray impl, I forgot a return on
value.get_or_insert_with(func)
. This should be an error, but I got an ice instead. This fails with the expected on stable.playground: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=a3776450ab79249a20b477f8365c88df
(Note that switching to stable resolves the ICE)
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: