-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 on ?Sized handling #48728
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Correctly compiles on 1.23. Version without trait M {}
struct Node<T: ?Sized>(Box<T>);
impl <T: Clone + ?Sized> M for Node<T> {}
impl <T> M for Node<[T]> {} |
HyeonuPark
added a commit
to HyeonuPark/Nal
that referenced
this issue
Mar 4, 2018
It looks like this is the unwrap causing this rust/src/librustc/traits/coherence.rs Line 85 in c933440
Introduced in #47738 cc @nikomatsakis |
triage: P-high |
Closed
Argh this got mistagged (no T-compiler) and hence overlooked by me :( |
Fix in #49714 |
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) ❄️
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code reproduce it.
https://play.rust-lang.org/?gist=e6f3aa15d3399c3300dd38b0a627cbf4&version=stable
I tried this code:
Meta
rustc --version --verbose
:And an angry imp there! 👿
The text was updated successfully, but these errors were encountered: