-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE "only ConstKind::Param should be encountered here" #104209
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
Labels
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.
Comments
This was referenced Nov 10, 2022
For the record, this isn't dependent on
|
This don't ICE: trait Demo {}
fn f() -> impl Demo {
2E
}
fn main() {} I guess it's because terminated because the error type error. |
Yeah, trait Demo {}
impl Demo for f64 {}
fn f() -> impl Demo {
2E
}
fn main() {} |
I can take a look at this, unless you're already working on this @compiler-errors. |
Oh thanks, didn't see this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Found with a modified fuzz-rustc
Code
Error output
Full output including backtrace
Regression
Regression in nightly-2022-09-18 from #98588 (@b-naber, @lcnr)
Bisect info
searched nightlies: from nightly-2022-09-04 to nightly-2022-11-07
regressed nightly: nightly-2022-09-18
searched commit range: 95a992a...98ad6a5
regressed commit: c524c7d
bisected with cargo-bisect-rustc v0.6.4
Host triple: x86_64-apple-darwin
Version
The text was updated successfully, but these errors were encountered: