Collapse term search exprs before Cartesian product to avoid OOM

This commit is contained in:
Tavo Annus 2024-05-06 08:38:43 +03:00
parent c4618fe14d
commit c3ab435b54
4 changed files with 43 additions and 20 deletions

View file

@ -274,7 +274,7 @@ impl Foo for Baz {
}
fn asd() -> Bar {
let a = Baz;
Foo::foo(a)
Foo::foo(_)
}
",
);
@ -363,7 +363,7 @@ impl Foo for A {
}
fn main() {
let a = A;
let c: Bar = Foo::foo(&a);
let c: Bar = Foo::foo(_);
}"#,
);
}