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 /crates/parser/src/grammar/paths.rs | |
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 'crates/parser/src/grammar/paths.rs')
0 files changed, 0 insertions, 0 deletions