-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Unused lifetime cause ICE #64173
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Centril
added
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.
P-medium
Medium priority
A-NLL
Area: Non-lexical lifetimes (NLL)
labels
Sep 5, 2019
matthewjasper
added
the
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
label
Sep 19, 2019
Triage: |
JohnTitor
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Dec 30, 2020
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
May 5, 2022
compiler-errors
added a commit
to compiler-errors/rust
that referenced
this issue
May 5, 2022
…=compiler-errors Add a regression test for rust-lang#64173 and rust-lang#66152 Closes rust-lang#64173 Closes rust-lang#66152 Mixed the code as the root cause seems the same.
compiler-errors
added a commit
to compiler-errors/rust
that referenced
this issue
May 6, 2022
…=compiler-errors Add a regression test for rust-lang#64173 and rust-lang#66152 Closes rust-lang#64173 Closes rust-lang#66152 Mixed the code as the root cause seems the same.
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 6, 2022
…piler-errors Rollup of 7 pull requests Successful merges: - rust-lang#96174 (mark ptr-int-transmute test as no_run) - rust-lang#96639 (Fix typo in `offset_from` documentation) - rust-lang#96704 (Add rotation animation on settings button when loading) - rust-lang#96730 (Add a regression test for rust-lang#64173 and rust-lang#66152) - rust-lang#96741 (Improve settings loading strategy) - rust-lang#96744 (Implement [OsStr]::join) - rust-lang#96747 (Add `track_caller` to `DefId::expect_local()`) Failed merges: 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
A-NLL
Area: Non-lexical lifetimes (NLL)
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code ICE's on stable, beta and nightly:
Backtrace:
Feel free to close if this is a duplicate of #56445.
What I noticed is that when the lifetime is removed, it just compiles fine:
The text was updated successfully, but these errors were encountered: