Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the new Resolver API for goto def | Florian Diebold | 2019-02-01 | 6 | -35/+89 |
| | |||||
* | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 11 | -106/+190 |
| | |||||
* | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 13 | -250/+296 |
| | |||||
* | Implement methods to build a resolver | Florian Diebold | 2019-02-01 | 5 | -73/+166 |
| | |||||
* | Sketching the resolver API | Florian Diebold | 2019-02-01 | 8 | -11/+134 |
| | |||||
* | Merge #718 | bors[bot] | 2019-02-01 | 21 | -115/+162 |
|\ | | | | | | | | | | | | | | | 718: split HirDatabase r=matklad a=csmoe Closes #706 Co-authored-by: csmoe <[email protected]> | ||||
| * | split HirDatabase api | csmoe | 2019-02-01 | 21 | -106/+147 |
| | | |||||
| * | split hirdatabase | csmoe | 2019-02-01 | 1 | -20/+26 |
|/ | |||||
* | Merge #722 | bors[bot] | 2019-02-01 | 5 | -73/+16 |
|\ | | | | | | | | | | | | | | | | | 722: remove hard-coded support for ctry macro r=matklad a=matklad It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well! Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | remove hard-coded support for ctry macro | Aleksey Kladov | 2019-02-01 | 5 | -73/+16 |
|/ | | | | | It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well! | ||||
* | Merge #721 | bors[bot] | 2019-02-01 | 3 | -26/+140 |
|\ | | | | | | | | | | | | | | | | | | | 721: Go To Implementation for Trait r=matklad a=kjeremy If on a trait def you can now go to all the impls of that trait in the crate. This is more of #620. Co-authored-by: kjeremy <[email protected]> | ||||
| * | Go To Implementation for Trait | kjeremy | 2019-01-31 | 3 | -26/+140 |
|/ | |||||
* | explain the magic | Aleksey Kladov | 2019-01-31 | 2 | -19/+56 |
| | |||||
* | cleanup the api | Aleksey Kladov | 2019-01-31 | 3 | -56/+70 |
| | |||||
* | cleanup | Aleksey Kladov | 2019-01-31 | 3 | -40/+42 |
| | |||||
* | move test | Aleksey Kladov | 2019-01-31 | 8 | -120/+129 |
| | |||||
* | split macros across crates | Aleksey Kladov | 2019-01-31 | 11 | -29/+57 |
| | |||||
* | preserve token spacing | Aleksey Kladov | 2019-01-31 | 7 | -30/+59 |
| | |||||
* | first test sort-of passes | Aleksey Kladov | 2019-01-31 | 8 | -40/+215 |
| | |||||
* | extract tt cursor | Aleksey Kladov | 2019-01-31 | 4 | -96/+101 |
| | |||||
* | binders boilerplate | Aleksey Kladov | 2019-01-31 | 1 | -2/+42 |
| | |||||
* | more expand boilerplate | Aleksey Kladov | 2019-01-31 | 3 | -4/+5 |
| | |||||
* | more expand boilerplate | Aleksey Kladov | 2019-01-31 | 2 | -2/+24 |
| | |||||
* | expand boilerplate | Aleksey Kladov | 2019-01-31 | 3 | -1/+10 |
| | |||||
* | reshuffle | Aleksey Kladov | 2019-01-31 | 3 | -200/+210 |
| | |||||
* | move macros to a separate crate | Aleksey Kladov | 2019-01-31 | 7 | -23/+50 |
| | |||||
* | parses simple macro | Aleksey Kladov | 2019-01-31 | 3 | -23/+131 |
| | |||||
* | handle multibyte tokens | Aleksey Kladov | 2019-01-31 | 2 | -23/+31 |
| | |||||
* | add eat methods | Aleksey Kladov | 2019-01-31 | 1 | -6/+23 |
| | |||||
* | parsing scaffold | Aleksey Kladov | 2019-01-31 | 1 | -4/+45 |
| | |||||
* | debug impls | Aleksey Kladov | 2019-01-31 | 3 | -2/+47 |
| | |||||
* | add repeats to ast | Aleksey Kladov | 2019-01-31 | 1 | -0/+12 |
| | |||||
* | convert punts and literals | Aleksey Kladov | 2019-01-31 | 4 | -20/+127 |
| | |||||
* | start tt convertions boilerplate | Aleksey Kladov | 2019-01-31 | 2 | -7/+43 |
| | |||||
* | add conversion boilerplate | Aleksey Kladov | 2019-01-31 | 3 | -7/+17 |
| | |||||
* | add macro by example ide | Aleksey Kladov | 2019-01-31 | 2 | -0/+52 |
| | |||||
* | shorten name :-) | Aleksey Kladov | 2019-01-31 | 2 | -1/+1 |
| | |||||
* | start token tree module | Aleksey Kladov | 2019-01-31 | 2 | -0/+39 |
| | |||||
* | Merge #715 | bors[bot] | 2019-01-31 | 1 | -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]> | ||||
| * | format | Jeremy Kolb | 2019-01-31 | 1 | -1/+3 |
| | | |||||
| * | Use "▶" for test code lens | Jeremy Kolb | 2019-01-31 | 1 | -1/+1 |
| | | | | | | | | I find that this makes code lenses stand out more. | ||||
* | | Merge #692 | bors[bot] | 2019-01-31 | 15 | -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 blocks | DJMcNab | 2019-01-28 | 10 | -0/+352 |
| | | | |||||
| * | | Add a test for inner attributes on extern blocks | DJMcNab | 2019-01-27 | 2 | -0/+30 |
| | | | |||||
| * | | Correctly parse inner attributes of impl blocks | DJMcNab | 2019-01-27 | 3 | -0/+50 |
| | | | |||||
* | | | Merge #712 | bors[bot] | 2019-01-31 | 3 | -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 Pretto | 2019-01-30 | 3 | -8/+181 |
| | | | |||||
| * | | Fix #667 | Andrea Pretto | 2019-01-30 | 1 | -11/+125 |
| | | | |||||
* | | | Merge #701 | bors[bot] | 2019-01-30 | 11 | -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 expectations | Marcus Klaas de Vries | 2019-01-30 | 3 | -8/+15 |
| | | | |