-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 impl_trait_in_bindings with elided lifetime #60473
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-impl_trait_in_bindings
`#![feature(impl_trait_in_bindings)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
matthewjasper
added
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
labels
May 2, 2019
Centril
added
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I-nominated
labels
May 2, 2019
Unstable buggy feature: suggested P-medium; |
I think this is a duplicate of #60371. |
Closing as duplicate. |
This ICEs in a different place after #60714, hitting: rust/src/librustc_mir/util/elaborate_drops.rs Line 829 in aa9369c
|
triage: P-medium. Removing nomination tag. |
Centril
added
F-impl_trait_in_bindings
`#![feature(impl_trait_in_bindings)]`
requires-nightly
This issue requires a nightly compiler in some way.
labels
Jul 28, 2019
Fixed by #67681 |
Alexendoo
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Feb 16, 2020
This was referenced Mar 8, 2020
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 9, 2020
Add more regression tests Closes rust-lang#54239 Closes rust-lang#57200 Closes rust-lang#57201 Closes rust-lang#60473 Closes rust-lang#64620 Closes rust-lang#67166 r? @Centril
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-impl_trait_in_bindings
`#![feature(impl_trait_in_bindings)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Backtrace
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=540971beb17a2f712b41a5a5e8888f51
If you give the lifetime explicitly, it compiles:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=ccd7cdc4e4d0e3952f518070fae7fba8
The text was updated successfully, but these errors were encountered: