-
Notifications
You must be signed in to change notification settings - Fork 13k
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 with unknown variable in closure and impl trait in type alias #82139
Labels
A-associated-items
Area: Associated items (types, constants & functions)
C-bug
Category: This is a bug.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
MForster
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 15, 2021
The bug is also present in stable rust:
|
jyn514
added
the
A-associated-items
Area: Associated items (types, constants & functions)
label
Feb 15, 2021
jonas-schievink
added
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Feb 15, 2021
Bisected with
|
fanninpm
added a commit
to fanninpm/glacier
that referenced
this issue
Feb 16, 2021
Issue: rust-lang/rust#82139
Assigning |
apiraino
added
P-low
Low priority
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Feb 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-associated-items
Area: Associated items (types, constants & functions)
C-bug
Category: This is a bug.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The code below produces an internal compiler error on the current nightly. The bug was already present on a ~2 weeks old nightly.
Note that while this ICE was found while writing code using
#![feature(type_alias_impl_trait)]
, it also manifests itself when the unstable feature is turned off.Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: