aboutsummaryrefslogtreecommitdiff
path: root/crates/ssr
Commit message (Collapse)AuthorAgeFilesLines
* Merge #5758bors[bot]2020-08-186-38/+246
|\ | | | | | | | | | | | | | | | | | | 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]>
| * SSR: A few small refactoringsDavid Lattimore2020-08-183-6/+9
| |
| * SSR: Explicitly autoderef and ref placeholders as neededDavid Lattimore2020-08-144-25/+222
| | | | | | | | Structured search replace now inserts *, & and &mut in the replacement to match any auto[de]ref in the matched code.
| * Refactor SSR so that placeholders store a VarDavid Lattimore2020-08-144-18/+26
| | | | | | | | | | This allows lookup of placeholder bindings given a placeholder without needing to create a Var instance.
* | Rename hypothetical -> speculativeAleksey Kladov2020-08-141-2/+2
|/
* Make hygiene private to hirAleksey Kladov2020-08-131-11/+13
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-1/+1
|
* Rename ra_ssr -> ssrAleksey Kladov2020-08-1310-0/+3600