-
Notifications
You must be signed in to change notification settings - Fork 13.4k
/checkout/src/librustc/traits/specialize/mod.rs:201: failed to fully normalize #44022
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-specialization
Area: Trait impl specialization
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
Had a full debuginfo build lying around so I decided to get a backtrace with line info. Full Backtrace
|
If I add a trait bound #![crate_type="lib"]
#![feature(specialization)]
trait X {}
trait Y: X {}
trait Z { type Assoc: Y; }
struct A<T>(T);
impl<T: X> Z for A<T> { type Assoc = T; }
impl<T: X> From<<A<T> as Z>::Assoc> for T {}
|
Same ICE as #43037 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-specialization
Area: Trait impl specialization
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.
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: