rust/crates/ssr/src
bors[bot] a95c5e2121
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 <dml@google.com>
2020-08-18 10:52:27 +00:00
..
errors.rs Rename ra_ssr -> ssr 2020-08-13 17:02:44 +02:00
lib.rs SSR: Explicitly autoderef and ref placeholders as needed 2020-08-14 21:26:25 +10:00
matching.rs SSR: Explicitly autoderef and ref placeholders as needed 2020-08-14 21:26:25 +10:00
nester.rs Rename ra_ssr -> ssr 2020-08-13 17:02:44 +02:00
parsing.rs Refactor SSR so that placeholders store a Var 2020-08-14 20:12:26 +10:00
replacing.rs SSR: A few small refactorings 2020-08-18 20:39:55 +10:00
resolving.rs Rename hypothetical -> speculative 2020-08-14 15:23:27 +02:00
search.rs Rename ra_ssr -> ssr 2020-08-13 17:02:44 +02:00
tests.rs SSR: A few small refactorings 2020-08-18 20:39:55 +10:00