aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #661bors[bot]2019-01-279-84/+227
|\ | | | | | | | | | | | | | | 661: Implement type generics for functions r=flodiebold a=marcusklaas Pretty printing of function types isn't as nice any more since the current implementation does not store its argument types directly. We could store some more information to print more information on the argument and return types, at a cost of course. Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * 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 <[email protected]>
| * 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
| |
| * Update test to use correct pathsErlend Tobiassen2019-01-271-6/+6
| |
| * fix #668Erlend Tobiassen2019-01-271-1/+3
| |
| * Test non standard crate rootErlend Tobiassen2019-01-272-6/+48
| |
* | Merge #691bors[bot]2019-01-273-35/+2
|\ \ | |/ |/| | | | | | | | | | | 691: remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove dead codeAleksey Kladov2019-01-273-35/+2
| |
* | Merge #685bors[bot]2019-01-274-36/+125
|\ \ | | | | | | | | | | | | | | | | | | | | | 685: Support attributes on let statements r=matklad a=DJMcNab Fix #677. Co-authored-by: DJMcNab <[email protected]>
| * | Stop using let_stmt twiceDJMcNab2019-01-271-43/+41
| | |
| * | Make attrs be a child of the let statementDJMcNab2019-01-263-23/+26
| | |
| * | Support attributes on let statementsDJMcNab2019-01-263-20/+108
| | |
* | | Merge #662bors[bot]2019-01-274-27/+65
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 662: Preserve indentation in doc comments r=matklad a=kjeremy Fixes #502 Co-authored-by: Jeremy Kolb <[email protected]>
| * | | Make doc comments optionalJeremy Kolb2019-01-264-19/+27
| | | |
| * | | Do not unconditionally trim commentsJeremy Kolb2019-01-261-2/+1
| | | |
| * | | Preserve indentation in doc commentsJeremy Kolb2019-01-261-9/+40
| | | |
* | | | Merge #687bors[bot]2019-01-266-179/+123
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 687: fix verificatio on ci r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | fix verification on CIAleksey Kladov2019-01-266-179/+123
| | | | | | | | | | | | | | | | remove `--verify` flag from the binaries: we have tests for this!
* | | | Merge #686bors[bot]2019-01-265-9/+97
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 686: Handle cycles in type vars r=matklad a=flodiebold This might be the cause of #587. Co-authored-by: Florian Diebold <[email protected]>
| * | | Add marksFlorian Diebold2019-01-263-0/+11
| | | |
| * | | Handle cycles in type varsFlorian Diebold2019-01-264-9/+86
|/ / / | | | | | | | | | This might be the cause of #587.
* | | Merge #683bors[bot]2019-01-266-5/+112
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 683: fix AST for if expressions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | fix AST for if expressionsAleksey Kladov2019-01-266-5/+112
| | | | | | | | | | | | | | | | then is not always a block...
* | | | Merge #684bors[bot]2019-01-262-2/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 684: fix panic in call info r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | fix panic in call infoAleksey Kladov2019-01-262-2/+21
|/ / / / | | | | | | | | | | | | | | | | closes #317 closes #675
* | | | Merge #681bors[bot]2019-01-262-11/+27
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 681: Use the correct working directory for cargo metadata and rustfmt r=matklad a=DJMcNab Fixes maybe #670. @bjorn3, is that true? (Awkward wording due to GitHub's eager 'fixes' finding) Co-authored-by: DJMcNab <[email protected]>
| * | | Don't use the reserved error codeDJMcNab2019-01-261-1/+1
| | | |
| * | | Return an lsp errorDJMcNab2019-01-261-5/+8
| | | |
| * | | Use the correct working directory for cargo metadata and rustfmtDJMcNab2019-01-262-7/+20
| | | |
* | | | Merge #682bors[bot]2019-01-268-104/+97
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 682: remove Option<SourceFileItemId> hack r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | remove Option<SourceFileItemId> hackAleksey Kladov2019-01-268-83/+86
| | | |
| * | | store syntax ptr in FileItemsAleksey Kladov2019-01-262-21/+15
| | | | | | | | | | | | | | | | we cache the tree in file_item query anyway
| * | | remove dead codeAleksey Kladov2019-01-261-4/+0
|/ / /
* | | Merge #680bors[bot]2019-01-263-1/+118
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 680: Struct literals should not be a `BlockLike::Block` r=DJMcNab a=DJMcNab Fix #674. Co-authored-by: DJMcNab <[email protected]>
| * | | Struct literals should not be a `BlockLike::Block`DJMcNab2019-01-263-1/+118
| |/ /
* | | Merge #679bors[bot]2019-01-262-4/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 679: :arrow_up: salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: salsaAleksey Kladov2019-01-262-4/+4
|/ /
* | Merge #676bors[bot]2019-01-262-4/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | 676: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: rowanAleksey Kladov2019-01-262-4/+11
|/ / | | | | | | | | | | The new rowan uses arena allocator for red nodes which helps slightly (5% on std completion test) with performance but should help quite a bit with avoiding memory fragmentation.