-
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: const_generics: unexpected const parent in type_of_def_id() #73683
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
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
Boscop
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
Jun 24, 2020
LeSeulArtichaut
added
A-const-generics
Area: const generics (parameters and arguments)
F-const_generics
`#![feature(const_generics)]`
requires-nightly
This issue requires a nightly compiler in some way.
labels
Jun 24, 2020
It'd be great if we could drop external dependency, marking as E-needs-mcve. |
JohnTitor
added
the
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
label
Jun 27, 2020
Slightly minified, #![feature(const_generics)]
#![allow(dead_code, incomplete_features)]
pub struct ChannelUsage;
impl ChannelUsage {
fn collect_arr<const N: i32>() {}
}
fn foo() {
ChannelUsage::collect_arr::<16i32>();
} Error
|
should be fixed by #74113 and we already have a nearly identical test to the mcve by @connorskees @Boscop In case your original example is also fixed, please close this issue. |
lcnr
removed
the
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
label
Jul 16, 2020
Closing as I expect this to be fixed, in case the issue persists don't hesitate to open a new issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
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.
Code
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: