-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
compiler panic using nightly on rustc_typeck::check::compare_method::compare_impl_method::_{{closure}}::h08bef90d287aed42 #35869
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Comments
Minimized: trait Foo {
fn foo(&self, &str);
}
struct Bar;
impl Foo for Bar {
fn foo(&self, _: &[u8]) {}
}
fn main() {} Actual Error:
Regression from beta / stable to nightly. |
Nightly |
I assume this was introduced by #35765. |
A bit more simplified (no need for slices, any reference will do): trait Foo {
fn foo(&self, &u8);
}
struct Bar;
impl Foo for Bar {
fn foo(&self, _: &u16) {}
}
fn main() {} |
Addressed by #35877 |
This was referenced Aug 24, 2016
jdm
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
labels
Aug 25, 2016
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Aug 27, 2016
Fix ICE when arg types can't be found in impl/trait methods while comparing Fixes rust-lang#35869.
bors
added a commit
that referenced
this issue
Aug 27, 2016
Fix ICE when arg types can't be found in impl/trait methods while comparing Fixes #35869.
This was referenced Aug 30, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
I'm not quite sure if what I'm doing is correct, but since I got a compiler panic I thought I should report it. You can download the full project from here https://github.com/seppo0010/limitd-rs/tree/rustc-crash ; I created a tag to point to the commit that reproduces the crash.
The relevant code is probably within this function definition
This is my rustc version
and the build command with the backtrace
Thanks!
The text was updated successfully, but these errors were encountered: