mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Collapse term search exprs before Cartesian product to avoid OOM
This commit is contained in:
parent
c4618fe14d
commit
c3ab435b54
4 changed files with 43 additions and 20 deletions
|
@ -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(_);
|
||||
}"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue