aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 <kjeremy@gmail.com>
| * 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 <36049421+djmcnab@users.noreply.github.com>
| * | 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 <eulerdisk@gmail.com>
| * | 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 <mail@marcusklaas.nl>
| * | | 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.
* | | | Use Crate instead of CrateIdAleksey Kladov2019-01-309-45/+36
| | | |
* | | | move item_map_queryAleksey Kladov2019-01-303-35/+29
| | | |
* | | | Merge #702bors[bot]2019-01-3013-16/+276
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 702: Go to Implementation r=matklad a=kjeremy First half of #620 Co-authored-by: Jeremy Kolb <kjeremy@gmail.com> Co-authored-by: kjeremy <kjeremy@gmail.com>
| * | | | Resolve cratekjeremy2019-01-302-3/+2
| | | | |
| * | | | Go to Implementation for structs and enumsJeremy Kolb2019-01-3013-17/+278
| | |/ / | |/| |
* / | | Pass Documentation up to LSP and add "rust" to our codeblocks thereJeremy Kolb2019-01-308-89/+103
|/ / /
* | | Use match-all instead of individual branchesWizardOfMenlo2019-01-281-5/+1
| | |
* | | Added support for primitive types type inference when using std::ops::NotWizardOfMenlo2019-01-283-15/+41
| | |
* | | opt-in jemallocAleksey Kladov2019-01-284-2/+19
| | |
* | | align command namingAleksey Kladov2019-01-283-14/+14
| | |
* | | Merge #678bors[bot]2019-01-288-22/+104
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 678: WIP: automatically collect garbage r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
| * | | update salsaAleksey Kladov2019-01-282-11/+9
| | | |
| * | | use salsa from my repoAleksey Kladov2019-01-271-1/+1
| | | |
| * | | tweak wordsAleksey Kladov2019-01-271-1/+1
| | | |
| * | | show jemallocAleksey Kladov2019-01-273-1/+34
| | | |
| * | | drop obsolete commentAleksey Kladov2019-01-271-3/+0
| | | |
| * | | automatically collect garbageAleksey Kladov2019-01-277-19/+73
| | | |
* | | | Sort completions in testsFlorian Diebold2019-01-2725-270/+271
|/ / /
* | | Process second reviewMarcus Klaas de Vries2019-01-273-44/+35
| | |
* | | Use type information from the turbofishMarcus Klaas de Vries2019-01-274-12/+40
| | |
* | | Add a FnSig to Ty::FnDefMarcus Klaas de Vries2019-01-277-68/+94
| | |
* | | Address some issues flagged in reviewMarcus Klaas de Vries2019-01-274-40/+26
| | |
* | | Add missing ty test snapshotMarcus Klaas de Vries2019-01-271-0/+23
| | |
* | | Add type params to FnSignatureMarcus Klaas de Vries2019-01-279-137/+107
| | |
* | | Initial implementation of generics for method callsMarcus Klaas de Vries2019-01-272-13/+72
| | |
* | | First attempt at generic type inference for fnsMarcus Klaas de Vries2019-01-276-21/+81
|/ /
* | Merge #690bors[bot]2019-01-274-10/+48
|\ \ | | | | | | | | | | | | | | | | | | | | | 690: Fix module resolution for non standard filenames r=matklad a=regiontog fixes #668 Co-authored-by: Erlend Tobiassen <erlend.tobiassen@gmail.com>
| * | Revert parts of "Test non standard crate root"Erlend Tobiassen2019-01-272-15/+9
| | | | | | | | | | | | Prefer cursor position over file_map
| * | Remove dbg!(...)Erlend Tobiassen2019-01-271-1/+1
| | |
| * | Fix bad rebase and rustfmtErlend Tobiassen2019-01-271-1/+1
| | |
| * | TyposErlend Tobiassen2019-01-271-2/+2
| | |