aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use the new Resolver API for goto defFlorian Diebold2019-02-016-35/+89
| |
* | Use the new Resolver API in completionFlorian Diebold2019-02-0111-106/+190
| |
* | Use new Resolver API in type inferenceFlorian Diebold2019-02-0112-250/+295
| |
* | Implement methods to build a resolverFlorian Diebold2019-02-015-73/+166
| |
* | Sketching the resolver APIFlorian Diebold2019-02-018-11/+134
| |
* | split HirDatabase apicsmoe2019-02-0121-106/+147
| |
* | split hirdatabasecsmoe2019-02-011-20/+26
| |
* | remove hard-coded support for ctry macroAleksey Kladov2019-02-015-73/+16
| | | | | | | | | | It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well!
* | Go To Implementation for Traitkjeremy2019-01-313-26/+140
|/
* explain the magicAleksey Kladov2019-01-312-19/+56
|
* cleanup the apiAleksey Kladov2019-01-313-56/+70
|
* cleanupAleksey Kladov2019-01-313-40/+42
|
* move testAleksey Kladov2019-01-317-118/+128
|
* split macros across cratesAleksey Kladov2019-01-3110-27/+45
|
* preserve token spacingAleksey Kladov2019-01-316-29/+59
|
* first test sort-of passesAleksey Kladov2019-01-317-40/+214
|
* extract tt cursorAleksey Kladov2019-01-314-96/+101
|
* binders boilerplateAleksey Kladov2019-01-311-2/+42
|
* more expand boilerplateAleksey Kladov2019-01-312-4/+4
|
* more expand boilerplateAleksey Kladov2019-01-312-2/+24
|
* expand boilerplateAleksey Kladov2019-01-313-1/+10
|
* reshuffleAleksey Kladov2019-01-313-200/+210
|
* move macros to a separate crateAleksey Kladov2019-01-316-23/+42
|
* parses simple macroAleksey Kladov2019-01-313-23/+131
|
* handle multibyte tokensAleksey Kladov2019-01-312-23/+31
|
* add eat methodsAleksey Kladov2019-01-311-6/+23
|
* parsing scaffoldAleksey Kladov2019-01-311-4/+45
|
* debug implsAleksey Kladov2019-01-313-2/+47
|
* add repeats to astAleksey Kladov2019-01-311-0/+12
|
* convert punts and literalsAleksey Kladov2019-01-314-20/+127
|
* start tt convertions boilerplateAleksey Kladov2019-01-312-7/+43
|
* add conversion boilerplateAleksey Kladov2019-01-313-7/+17
|
* add macro by example ideAleksey Kladov2019-01-312-0/+52
|
* shorten name :-)Aleksey Kladov2019-01-312-1/+1
|
* start token tree moduleAleksey Kladov2019-01-312-0/+39
|
* Merge #715bors[bot]2019-01-311-1/+3
|\ | | | | | | | | | | | | | | 715: Use "▶" for test code lens r=matklad a=kjeremy I find that this makes code lenses stand out more otherwise they can be easy to miss. Co-authored-by: Jeremy Kolb <[email protected]>
| * formatJeremy Kolb2019-01-311-1/+3
| |
| * Use "▶" for test code lensJeremy Kolb2019-01-311-1/+1
| | | | | | | | I find that this makes code lenses stand out more.
* | Merge #692bors[bot]2019-01-3115-0/+432
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 692: [WIP] Correctly parse attributes r=matklad a=DJMcNab Reference - https://doc.rust-lang.org/reference/attributes.html This fixes/investigates inner attributes for: - [x] `impl` blocks - [x] `extern` blocks - [x] `fn`s (fixes #689) - [x] `mod`s (already supported) - [x] 'block expressions' (the long text just describes all 'blocks' used as statements) This also investigates/fixes outer attributes for: - [ ] 'most statements' (see also: #685, https://doc.rust-lang.org/reference/expressions.html#expression-attributes) - [x] Enum variants, Struct and Union fields (Fixed in #507) - [ ] 'Match expression arms' (@matklad can you provide a test case which explains what this means?) - [ ] 'Generic lifetime or type parameters' - [ ] 'Elements of array expressions, tuple expressions, call expressions, tuple-style struct and enum variant expressions' - [ ] 'The tail expression of block expressions' Co-authored-by: DJMcNab <[email protected]>
| * | Parse and validate attributes in blocksDJMcNab2019-01-2810-0/+352
| | |
| * | Add a test for inner attributes on extern blocksDJMcNab2019-01-272-0/+30
| | |
| * | Correctly parse inner attributes of impl blocksDJMcNab2019-01-273-0/+50
| | |
* | | Merge #712bors[bot]2019-01-313-15/+302
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 712: Fix #667 and improvements to introduce_variable r=matklad a=eulerdisk Fix #667 (but not re-indenting currently), plus many other improvements. @matklad I'm not sure how to handle re-indenting here. Co-authored-by: Andrea Pretto <[email protected]>
| * | Some improvements to introduce_variable.Andrea Pretto2019-01-303-8/+181
| | |
| * | Fix #667Andrea Pretto2019-01-301-11/+125
| | |
* | | Merge #701bors[bot]2019-01-3011-63/+163
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 701: Minor type inference tweaks r=flodiebold a=marcusklaas Pass down expectation for reference expressions and type the guard in match expressions. I wasn't able to add a test for the former addition because the type variable previously introduced would always resolve to the right type in the things I tried! Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * | | Add test for passing on ref expectationsMarcus Klaas de Vries2019-01-303-8/+15
| | | |
| * | | Infer type of match guardMarcus Klaas de Vries2019-01-2810-59/+152
| | | |
* | | | Move expr_scopes query to its moduleFlorian Diebold2019-01-303-11/+17
| | | |
* | | | Rename FnScopes -> ExprScopesFlorian Diebold2019-01-308-26/+26
| | | | | | | | | | | | | | | | | | | | The reason for this is that it describes scopes for any body expression, not just that of a function. It did not actually refer to functions at all anymore.