aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SSR: Allow `self` in patterns.David Lattimore2020-08-014-6/+74
| | | | | | | | | It's now consistent with other variables in that if the pattern references self, only the `self` in scope where the rule is invoked will be accepted. Since `self` doesn't work the same as other paths, this is implemented by restricting the search to just the current function. Prior to this change (since path resolution was implemented), having self in a pattern would just result in no matches.
* Merge #5635bors[bot]2020-08-013-118/+22
|\ | | | | | | | | | | | | | | | | | | | | 5635: Better JSON serialization in metrics r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Better JSON serialization in metricsAleksey Kladov2020-08-013-118/+22
|/
* Merge #5634bors[bot]2020-07-315-17/+37
|\ | | | | | | | | | | | | | | | | | | | | 5634: Finish rename r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Finish renameAleksey Kladov2020-07-311-3/+3
| |
| * Unify naming of tuple fieldsAleksey Kladov2020-07-315-14/+14
| |
| * Section headersAleksey Kladov2020-07-311-0/+20
|/
* Merge #5633bors[bot]2020-07-3114-55/+55
|\ | | | | | | | | | | | | | | | | | | | | 5633: Rename DotDotPat -> RestPat r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename DotDotPat -> RestPatAleksey Kladov2020-07-3114-55/+55
|/
* Merge #5632bors[bot]2020-07-3111-22/+19
|\ | | | | | | | | | | | | | | | | 5632: Cleanup impl gramamr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * RenameAleksey Kladov2020-07-318-15/+12
| |
| * Simplify trait gramamrAleksey Kladov2020-07-313-7/+7
| |
* | Merge #5631bors[bot]2020-07-31121-837/+829
|\| | | | | | | | | | | | | | | | | 5631: Finalize pattern grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename BindPat -> IdentPatAleksey Kladov2020-07-3183-273/+277
| |
| * Rename PalceholderPat -> WildcardPatAleksey Kladov2020-07-3150-135/+132
| |
| * ReorderAleksey Kladov2020-07-313-19/+18
| |
| * Allign RecordPat with RecordExprAleksey Kladov2020-07-3122-85/+78
| |
| * Minor gramamr reorderAleksey Kladov2020-07-312-388/+387
|/
* Merge #5630bors[bot]2020-07-312-27/+0
|\ | | | | | | | | | | | | | | | | | | | | 5630: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove dead codeAleksey Kladov2020-07-312-27/+0
| |
* | Merge #5629bors[bot]2020-07-3141-654/+716
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 5629: Finalize Path grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Fix leading colonAleksey Kladov2020-07-312-2/+3
| | |
| * | Fix const arguments grammarAleksey Kladov2020-07-314-263/+263
| | |
| * | Fix GenericArgs grammarAleksey Kladov2020-07-314-50/+107
| | |
| * | fixup! Finalize Path grammarAleksey Kladov2020-07-311-1/+1
| | |
| * | Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-3141-70/+70
| | |
| * | Finalize Path grammarAleksey Kladov2020-07-312-473/+477
| | |
* | | Merge #5627bors[bot]2020-07-312-1/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5627: Specify literal tokens r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Specify literal tokensAleksey Kladov2020-07-312-1/+8
| | |
* | | Merge #5626bors[bot]2020-07-314-79/+68
|\| | | |/ |/| | | | | | | | | | | | | | | | | 5626: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * MinorAleksey Kladov2020-07-314-79/+68
|/
* Merge #5625bors[bot]2020-07-311-0/+6
|\ | | | | | | | | | | | | | | | | | | | | 5625: Document crates.io deps policy r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Document crates.io deps policyAleksey Kladov2020-07-311-0/+6
| |
* | Merge #5624bors[bot]2020-07-3119-848/+894
|\ \ | |/ |/| | | | | | | | | | | | | 5624: Finalize expressions grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename LambdaExpr -> ClosureExprAleksey Kladov2020-07-3119-54/+59
| |
| * Work on expressions grammarAleksey Kladov2020-07-314-821/+862
| |
* | Merge #5623bors[bot]2020-07-317-63/+94
|\| | | | | | | | | | | | | | | | | | | | | 5623: Item is a Stmt r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Item is a StmtAleksey Kladov2020-07-316-15/+36
| |
| * Handwrite StmtAleksey Kladov2020-07-314-51/+61
| |
* | Merge #5622bors[bot]2020-07-312-102/+103
|\| | | | | | | | | | | | | | | | | | | | | 5622: Finalize WhereClause gramamr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Move Stmt GrammarAleksey Kladov2020-07-312-95/+96
| |
| * Finalize WhereClause gramamrAleksey Kladov2020-07-311-7/+7
| |
* | Merge #5621bors[bot]2020-07-314-54/+35
|\| | | | | | | | | | | | | | | | | | | | | 5621: Finalize TypeBound grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Finalize TypeBound grammarAleksey Kladov2020-07-314-54/+35
| |
* | Merge #5620bors[bot]2020-07-313-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5620: Finalize Types grammar r=matklad a=matklad Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar... bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * "Finalize" Types grammarAleksey Kladov2020-07-313-3/+4
| | | | | | | | | | | | | | Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar...
* | Merge #5619bors[bot]2020-07-3110-28/+28
|\| | | | | | | | | | | | | | | | | | | | | 5619: Reame PlaceholderType -> InferType r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-3110-28/+28
| |
* | Merge #5513bors[bot]2020-07-311-2/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5513: Try figure out correct workspace in vscode multi root workspace r=vsrs a=urbandove the code to replace the root with the `${workspaceRoot}` arg breaks in multi root workspaces as it needs a qualifier `${workspaceRoot:workspaceName}` This PR attempts to figure out the root workspace - and if it cant find it falls back to the first workspace Co-authored-by: Urban Dove <[email protected]>
| * | delete empty lineUrban Dove2020-07-261-1/+0
| | |