We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
causing check builds to pass
affected tests
struct T; impl T { type This = Self::This; //~ ERROR overflow evaluating associated type `T::This` } fn main() {}
The text was updated successfully, but these errors were encountered:
we also do not eagerly try to normalize struct fields
trait Trait { type Diverges<D: Trait>; } impl<T> Trait for T { type Diverges<D: Trait> = D::Diverges<D>; } struct Foo { field: Box<<u8 as Trait>::Diverges<u8>>, }
Sorry, something went wrong.
The same is also true of defaulted type parameters:
trait Trait { type Diverges<D: Trait>; } impl<T> Trait for T { type Diverges<D: Trait> = D::Diverges<D>; } struct Bar<T: ?Sized = <u8 as Trait>::Diverges<u8>>(Box<T>);
Though this is not a new solver regression as the old solver also fails to emit an error here
No branches or pull requests
causing check builds to pass
affected tests
The text was updated successfully, but these errors were encountered: