Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
| | | | | ||||||
| * | | | Infer type of match guard | Marcus Klaas de Vries | 2019-01-28 | 10 | -59/+152 | |
| | | | | ||||||
* | | | | Move expr_scopes query to its module | Florian Diebold | 2019-01-30 | 3 | -11/+17 | |
| | | | | ||||||
* | | | | Rename FnScopes -> ExprScopes | Florian Diebold | 2019-01-30 | 8 | -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. | |||||
* | | | | Use Crate instead of CrateId | Aleksey Kladov | 2019-01-30 | 9 | -45/+36 | |
| | | | | ||||||
* | | | | move item_map_query | Aleksey Kladov | 2019-01-30 | 3 | -35/+29 | |
| | | | | ||||||
* | | | | Merge #702 | bors[bot] | 2019-01-30 | 13 | -16/+276 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 702: Go to Implementation r=matklad a=kjeremy First half of #620 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | |||||
| * | | | | Resolve crate | kjeremy | 2019-01-30 | 2 | -3/+2 | |
| | | | | | ||||||
| * | | | | Go to Implementation for structs and enums | Jeremy Kolb | 2019-01-30 | 13 | -17/+278 | |
| | |/ / | |/| | | ||||||
* / | | | Pass Documentation up to LSP and add "rust" to our codeblocks there | Jeremy Kolb | 2019-01-30 | 8 | -89/+103 | |
|/ / / | ||||||
* | | | Use match-all instead of individual branches | WizardOfMenlo | 2019-01-28 | 1 | -5/+1 | |
| | | | ||||||
* | | | Added support for primitive types type inference when using std::ops::Not | WizardOfMenlo | 2019-01-28 | 3 | -15/+41 | |
| | | | ||||||
* | | | opt-in jemalloc | Aleksey Kladov | 2019-01-28 | 4 | -2/+19 | |
| | | | ||||||
* | | | align command naming | Aleksey Kladov | 2019-01-28 | 3 | -14/+14 | |
| | | | ||||||
* | | | Merge #678 | bors[bot] | 2019-01-28 | 8 | -22/+104 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 678: WIP: automatically collect garbage r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | update salsa | Aleksey Kladov | 2019-01-28 | 2 | -11/+9 | |
| | | | | ||||||
| * | | | use salsa from my repo | Aleksey Kladov | 2019-01-27 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | tweak words | Aleksey Kladov | 2019-01-27 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | show jemalloc | Aleksey Kladov | 2019-01-27 | 3 | -1/+34 | |
| | | | | ||||||
| * | | | drop obsolete comment | Aleksey Kladov | 2019-01-27 | 1 | -3/+0 | |
| | | | | ||||||
| * | | | automatically collect garbage | Aleksey Kladov | 2019-01-27 | 7 | -19/+73 | |
| | | | | ||||||
* | | | | Sort completions in tests | Florian Diebold | 2019-01-27 | 25 | -270/+271 | |
|/ / / | ||||||
* | | | Process second review | Marcus Klaas de Vries | 2019-01-27 | 3 | -44/+35 | |
| | | | ||||||
* | | | Use type information from the turbofish | Marcus Klaas de Vries | 2019-01-27 | 4 | -12/+40 | |
| | | | ||||||
* | | | Add a FnSig to Ty::FnDef | Marcus Klaas de Vries | 2019-01-27 | 7 | -68/+94 | |
| | | | ||||||
* | | | Address some issues flagged in review | Marcus Klaas de Vries | 2019-01-27 | 4 | -40/+26 | |
| | | | ||||||
* | | | Add missing ty test snapshot | Marcus Klaas de Vries | 2019-01-27 | 1 | -0/+23 | |
| | | | ||||||
* | | | Add type params to FnSignature | Marcus Klaas de Vries | 2019-01-27 | 9 | -137/+107 | |
| | | | ||||||
* | | | Initial implementation of generics for method calls | Marcus Klaas de Vries | 2019-01-27 | 2 | -13/+72 | |
| | | | ||||||
* | | | First attempt at generic type inference for fns | Marcus Klaas de Vries | 2019-01-27 | 6 | -21/+81 | |
|/ / | ||||||
* | | Merge #690 | bors[bot] | 2019-01-27 | 4 | -10/+48 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 690: Fix module resolution for non standard filenames r=matklad a=regiontog fixes #668 Co-authored-by: Erlend Tobiassen <[email protected]> | |||||
| * | | Revert parts of "Test non standard crate root" | Erlend Tobiassen | 2019-01-27 | 2 | -15/+9 | |
| | | | | | | | | | | | | Prefer cursor position over file_map | |||||
| * | | Remove dbg!(...) | Erlend Tobiassen | 2019-01-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix bad rebase and rustfmt | Erlend Tobiassen | 2019-01-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | Typos | Erlend Tobiassen | 2019-01-27 | 1 | -2/+2 | |
| | | | ||||||
| * | | Update test to use correct paths | Erlend Tobiassen | 2019-01-27 | 1 | -6/+6 | |
| | | | ||||||
| * | | fix #668 | Erlend Tobiassen | 2019-01-27 | 1 | -1/+3 | |
| | | | ||||||
| * | | Test non standard crate root | Erlend Tobiassen | 2019-01-27 | 2 | -6/+48 | |
| |/ | ||||||
* | | Merge #691 | bors[bot] | 2019-01-27 | 3 | -35/+2 | |
|\ \ | |/ |/| | | | | | | | | | | | 691: remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | remove dead code | Aleksey Kladov | 2019-01-27 | 3 | -35/+2 | |
| | |