aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #2120bors[bot]2019-10-291-0/+19
|\ | | | | | | | | | | | | | | 2120: Profile all request handlers r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Profile all request handlerskjeremy2019-10-291-0/+19
|/
* Merge #2119bors[bot]2019-10-291-0/+1
|\ | | | | | | | | | | | | | | 2119: Add missing test for label r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Add missing test for labelkjeremy2019-10-291-0/+1
|/
* Merge #2117bors[bot]2019-10-291-6/+6
|\ | | | | | | | | | | | | | | 2117: Don't add a space after the opening brace in autoimport r=matklad a=flodiebold This seems almost intentional, being visible in quite a few tests, but it's rather annoying to me :confused: Co-authored-by: Florian Diebold <[email protected]>
| * Don't add a space after the opening brace in autoimportFlorian Diebold2019-10-291-6/+6
|/
* Merge #2116bors[bot]2019-10-292-0/+58
|\ | | | | | | | | | | | | | | 2116: Basic signature help for mbe r=matklad a=kjeremy This is really basic and just adds info and docs. Does something like this even make sense to have? I wasn't sure how to handle arguments so left them empty for now. Co-authored-by: kjeremy <[email protected]>
| * Primitive signature help for mbekjeremy2019-10-292-0/+58
|/
* Merge #2103bors[bot]2019-10-292-11/+184
|\ | | | | | | | | | | | | | | | | | | | | 2103: Expand signature help r=matklad a=kjeremy Signature help using call syntax with tuple structs and enum variants Fixes #2102. Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]>
| * SigKind -> CallableKindkjeremy2019-10-291-10/+10
| |
| * Filter out non callable versions of Struct/EnumVariantkjeremy2019-10-282-38/+84
| |
| * formattingJeremy Kolb2019-10-281-1/+1
| |
| * Fix syntaxJeremy Kolb2019-10-281-1/+1
| |
| * Preliminary enum variant supportJeremy Kolb2019-10-282-2/+67
| |
| * Add disciminantJeremy Kolb2019-10-282-7/+17
| |
| * WIP: Expand signature helpJeremy Kolb2019-10-282-8/+60
| | | | | | | | This is hacky but works for tuple structs. Proof of concept.
* | Merge #2114bors[bot]2019-10-2917-353/+338
|\ \ | | | | | | | | | | | | | | | | | | | | | 2114: Move macro expansion to a separate crate r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | cleanupAleksey Kladov2019-10-294-24/+16
| | |
| * | switch expand to dyn TraitAleksey Kladov2019-10-292-9/+9
| | |
| * | reduce visibilityAleksey Kladov2019-10-291-2/+2
| | |
| * | add doc commentAleksey Kladov2019-10-291-0/+2
| | |
| * | remove not that useful indirectionAleksey Kladov2019-10-294-18/+8
| | |
| * | remove empty moduleAleksey Kladov2019-10-292-15/+6
| | |
| * | reduce visibilityAleksey Kladov2019-10-294-20/+9
| | |
| * | remove unused queryAleksey Kladov2019-10-292-15/+5
| | |
| * | less genericsAleksey Kladov2019-10-292-6/+9
| | |
| * | flatten hir_expandAleksey Kladov2019-10-295-261/+243
| | |
| * | make file id repr private againAleksey Kladov2019-10-291-12/+17
| | |
| * | rename hir_def -> hir_expandAleksey Kladov2019-10-2910-7/+7
| | |
| * | move expansion-related code to a separate crateAleksey Kladov2019-10-2911-303/+344
| | |
* | | Merge #2113bors[bot]2019-10-293-34/+46
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2113: Upgrade Chalk, make use of TypeName::Error variant r=flodiebold a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Upgrade Chalk, make use of TypeName::Error variantFlorian Diebold2019-10-293-34/+46
|/ /
* | Merge #2112bors[bot]2019-10-2912-131/+181
|\ \ | | | | | | | | | | | | | | | | | | | | | 2112: start ra_hir_def crate r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | start ra_hir_def crateAleksey Kladov2019-10-2912-131/+181
|/ /
* | Merge #2111bors[bot]2019-10-281-6/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | 2111: Fix autoimport not choosing the deepest use tree in some situations r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Fix autoimport not choosing the deepest use tree in some situationsFlorian Diebold2019-10-281-6/+37
| | |
* | | Merge #2110bors[bot]2019-10-281-23/+23
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2110: weaken requirements of AstDef r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | weaken requirements of AstDefAleksey Kladov2019-10-281-23/+23
|/ /
* | Merge #2108bors[bot]2019-10-284-49/+151
|\ \ | |/ |/| | | | | | | | | | | 2108: fix parsing of for loops inside expressions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix parsing of for loops inside expressionsAleksey Kladov2019-10-284-49/+151
|/ | | | closes #2051
* Merge #2097bors[bot]2019-10-281-8/+32
|\ | | | | | | | | | | | | | | | | | | 2097: Be more precise with function signatures r=matklad a=kjeremy Finds the closest call expr. Fixes #2093 Co-authored-by: Jeremy Kolb <[email protected]>
| * Be more precise with function signaturesJeremy Kolb2019-10-271-8/+32
| | | | | | | | Fixes #2093
* | Merge #2105bors[bot]2019-10-281-40/+40
|\ \ | | | | | | | | | | | | | | | | | | | | | 2105: Update crates r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | Update cratesJeremy Kolb2019-10-281-40/+40
| | |
* | | Merge #2101bors[bot]2019-10-272-4/+27
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2101: Preserve whitespace at the end of doc comments r=matklad a=kjeremy Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line. Note that this behavior diverges from RLS. Fixes #1997 Co-authored-by: Jeremy Kolb <[email protected]>
| * | Preserve whitespace at the end of doc commentsJeremy Kolb2019-10-272-4/+27
|/ / | | | | | | | | | | | | | | Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line. Note that this behavior diverges from RLS. Fixes #1997
* | Merge #2099bors[bot]2019-10-271-4/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2099: Fix panic on raw string assist r=matklad a=aee11 Strings that do not contain two quotation marks would cause a slice indexing panic because `find_usual_string_range` would return a range that only contained a single quotation mark. Panic example: ``` fn main() { let s = "<|> } ``` I noticed a lot of panics from the `make_raw_string` assist while working on another issue today. Co-authored-by: Alexander Elís Ebenesersson <[email protected]>
| * | Fix panic on raw string assistAlexander Elís Ebenesersson2019-10-271-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | Strings that do not contain two quotation marks would cause a slice indexing panic because code was assuming `find_usual_string_range` would return a string with two quotes, but it would incorrectly also return text ranges containing only a single quote.
* | | Merge #2096bors[bot]2019-10-272-82/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2096: further simplify assists r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | further simplify assistsAleksey Kladov2019-10-272-82/+37
|/ / /