diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-18 11:52:27 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-18 11:52:27 +0100 |
commit | a95c5e21219cd6569e2630637fd4268e24c0ca03 (patch) | |
tree | 8f8d7348d4916479396abb58adc6891163cb9cbc /Cargo.lock | |
parent | 5d97db8d480d58559e7490e1efdb0e45d1a8832f (diff) | |
parent | 29e6238cb7330f7d29f33ff03a4ccc0a0cec9f4d (diff) |
Merge #5758
5758: SSR: Explicitly autoderef and ref placeholders as needed r=matklad a=davidlattimore
Structural search replace now inserts *, & and &mut in the replacement to match any auto[de]ref in the matched code.
e.g. `$a.foo() ==>> bar($a)` might convert `x.foo()` to `bar(&mut x)`
Co-authored-by: David Lattimore <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 7abfeaaeb..ffa385106 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -1455,6 +1455,7 @@ dependencies = [ | |||
1455 | "expect", | 1455 | "expect", |
1456 | "hir", | 1456 | "hir", |
1457 | "ide_db", | 1457 | "ide_db", |
1458 | "itertools", | ||
1458 | "rustc-hash", | 1459 | "rustc-hash", |
1459 | "syntax", | 1460 | "syntax", |
1460 | "test_utils", | 1461 | "test_utils", |