Repository navigation
Const generic ICE without feature specified #60263
Copy link
Copy link
Closed
Labels
A-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Activity
- addedC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
on Apr 25, 2019 In general, presence or absence of
#![feature(X)]shouldn't affect compiler's behavior in any way beside reporting the "featureXis unstable" error, so ICEs like this need to fixed unconditionally.Strongly related (not sure why two issues though) with #60264 and therefore with #60147 and #57272
@petrochenkov I already pinged you in #60147 (comment) because of this ;)
Strongly related (not sure why two issues though) with #60264 and therefore with #60147 and #57272
2 issue's because the ICE messages are different, sorry for the confusion!
To clearify, on both issue's there are 2 things wrong:- Being able to get the ICE's, without specifying the feature
- The ICE's themselves (Which was likely to happen, given the incompleteness. Consider these as test-cases, or something :) )
Reacted by Marcel HellwigThis should be fixed on the next nightly, but #60277 will add a regression test for it.
- addedA-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)
on May 2, 2019 - added a commit that references this issue
on May 7, 2019
Metadata
Metadata
Assignees
Labels
A-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
The following ICE's on nightly only:
Notice I didn't specify the
#![feature(const_generics)]featureBacktrace: