-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-trait-systemArea: Trait systemArea: Trait systemP-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
the following generates a compiler error on all current versions:
trait A<T>: std::ops::Add +Sized {}
trait B<T>: A<T> {}
trait C<T>: A<B<T, Output = usize>> {}
RUST_BACKTRACE hangs for me, but emits:
error: internal compiler error: ../src/librustc/infer/resolve.rs:132: Unexpected type in full type resolver: FreshTy(0)
https://is.gd/lkcWgT
This is greatly cut down from a real world example, and a blocking issue for me
Metadata
Metadata
Assignees
Labels
A-trait-systemArea: Trait systemArea: Trait systemP-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.