-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Recursion limit tripped in doc but not in other profiles #100991
Comments
The error seems to be caused #100757 (cc @ouz-a). Curiously, this only happens in Here's the error:
The line where the error triggers is: impl<'a, T, Tab, U> Insertable<Tab> for &'a Eq<T, U> // <--- HERE
where
T: Copy,
Eq<T, &'a U>: Insertable<Tab>,
{
type Values = <Eq<T, &'a U> as Insertable<Tab>>::Values;
fn values(self) -> Self::Values {
Eq::new(self.left, &self.right).values()
}
} You can reproduce this issue by:
|
How can I run this(rustc-perf repo) via locally built rustc? @rylev |
#100620 might be related as well? |
That indeed looks related, so #100705 should fix this ? |
Unfortunately, #100705 did not fix the issue. Using the build bors creates after merge 983f4da, @ouz-a to reproduce this, you just need to clone the rustc-perf repo and cd into |
Thanks, I will try to push a fix today. |
I'm just gonna revert my original PR that introduced this overflow until I can create a version that works with diesel, @ouz-a, given the perf regression of my "fix" and the remaining existence of this issue, so don't waste too much time on this. |
I already found a fix 😅 |
cc #81091 |
I've started on minimizing this in https://github.com/jyn514/diesel/tree/mangled-diesel-ice, with the goal of removing the rustdoc special casing once I finish #81091. If someone could finish it up that would be extremely helpful - I think it's related to one of the impls on You can reproduce the overflow with |
The diesel benchmark has been broken in some recent commit: https://perf.rust-lang.org/status.html.
ref: zulip comment
The text was updated successfully, but these errors were encountered: