aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | WIP use params for APITFlorian Diebold2020-02-073-1/+64
| | |
| * | Fix assoc type selectionFlorian Diebold2020-02-072-32/+43
| | |
| * | Fix another testFlorian Diebold2020-02-072-7/+3
| | |
| * | First stab at desugaring bounds for APITFlorian Diebold2020-02-073-10/+56
| | |
| * | Fix crashFlorian Diebold2020-02-071-4/+7
| | |
| * | Fix enum constructorsFlorian Diebold2020-02-073-11/+9
| | |
| * | Fix printing of function typesFlorian Diebold2020-02-077-72/+73
| | |
| * | Lower impl trait to variables, move away from using placeholders where they ↵Florian Diebold2020-02-079-188/+220
| | | | | | | | | | | | don't belong
| * | wip lower impl trait to type argsFlorian Diebold2020-02-078-14/+97
| | |
| * | wip implement lowering modeFlorian Diebold2020-02-072-26/+34
| | |
| * | Add impl trait lowering modeFlorian Diebold2020-02-076-40/+141
| | |
| * | Introduce TyLoweringContextFlorian Diebold2020-02-076-152/+144
| |/
* | Merge #3065bors[bot]2020-02-092-9/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 3065: Remove ImportResolver-related stubs r=matklad a=SomeoneToIgnore A follow-up for https://github.com/rust-analyzer/rust-analyzer/pull/3063/, removes the FIXME added during the https://github.com/rust-analyzer/rust-analyzer/pull/2982#issuecomment-581130028 changes. Co-authored-by: Kirill Bulatov <[email protected]>
| * | Remove ImportResolver-related stubsKirill Bulatov2020-02-092-9/+1
|/ /
* | Merge #3063bors[bot]2020-02-091-128/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 3063: Remove hard-coded auto-import during completion r=matklad a=matklad We now have a real auto-import system, so we can do a proper thing. Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove hard-coded auto-import during completionAleksey Kladov2020-02-091-128/+3
|/ / | | | | | | We now have a real auto-import system, so we can do a proper thing.
* | Merge #3052bors[bot]2020-02-099-104/+96
|\ \ | | | | | | | | | | | | | | | | | | | | | 3052: Rename add import assist r=matklad a=SomeoneToIgnore Based on the https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/2.20assists.20with.20the.20same.20action.20name/near/187655643 and the related discussion. Co-authored-by: Kirill Bulatov <[email protected]>
| * | Rename add import assistKirill Bulatov2020-02-079-104/+96
| |/
* | Merge #3054bors[bot]2020-02-083-313/+12
|\ \ | |/ |/| | | | | | | | | | | 3054: Move emacs support to emacs-lsp r=flodiebold a=flodiebold emacs-lsp has integrated most of the support code (https://github.com/emacs-lsp/lsp-mode/pull/1395 will remove the last differences, as far as I can tell), so remove rust-analyzer.el here and update the documentation. Co-authored-by: Florian Diebold <[email protected]>
| * Docs cleanupsFlorian Diebold2020-02-082-18/+12
| |
| * Remove rust-analyzer.elFlorian Diebold2020-02-081-295/+0
|/ | | | The support has been moved to emacs-lsp.
* Merge #3049bors[bot]2020-02-0730-109/+97
|\ | | | | | | | | | | | | | | 3049: Introduce assists utils r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Introduce assists utilsAleksey Kladov2020-02-075-26/+32
| |
| * Name assist handlersAleksey Kladov2020-02-0729-35/+19
| |
| * CleanupsAleksey Kladov2020-02-071-2/+5
| |
| * Cleanup importsAleksey Kladov2020-02-071-1/+1
| |
| * CleanupAleksey Kladov2020-02-072-4/+11
| |
| * CleanupAleksey Kladov2020-02-071-3/+4
| |
| * SimplifyAleksey Kladov2020-02-072-42/+29
| |
* | Merge #3048bors[bot]2020-02-077-71/+45
|\ \ | |/ |/| | | | | | | | | | | 3048: Remove irrelevant distinction r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * RenameAleksey Kladov2020-02-076-23/+23
| |
| * Remove irrelevant distinctionAleksey Kladov2020-02-076-48/+22
| |
* | Merge #3047bors[bot]2020-02-075-20/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3047: Update async unsafe fn ordering in parser r=matklad a=kiljacken As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025 Co-authored-by: Emil Lauridsen <[email protected]>
| * | Update async unsafe fn ordering.Emil Lauridsen2020-02-075-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025
* | | Merge #3040bors[bot]2020-02-0719-259/+686
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3040: Rework value parameter parsing r=matklad a=tobz1000 Fixes #2847. - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident __Question__: The pre-existing test `param_list_opt_patterns` has been kept as-is, although the name no longer makes sense (it's testing `Fn__(...)` params, which aren't allowed patterns any more). What would be best to do about this? Co-authored-by: Toby Dimmick <[email protected]>
| * | PR tweaksToby Dimmick2020-02-073-21/+18
| | |
| * | Closure params testToby Dimmick2020-02-063-0/+77
| | |
| * | rustfmtToby Dimmick2020-02-061-2/+2
| | |
| * | Rework value parameter parsingToby Dimmick2020-02-0617-255/+608
| | | | | | | | | | | | | | | | | | | | | - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident
* | | Merge #3044bors[bot]2020-02-071-6/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3044: Don't crash when recieving unkown file for cargo diagnostic. r=matklad a=kiljacken Fixes #3014 Co-authored-by: Emil Lauridsen <[email protected]>
| * | | to_string_lossy() -> display()Emil Lauridsen2020-02-071-4/+1
| | | |
| * | | Don't crash when recieving unkown file for cargo diagnostic.Emil Lauridsen2020-02-071-6/+10
| | |/ | |/|
* | | Merge #3045bors[bot]2020-02-074-29/+64
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 3045: Cleanup early return assist r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Cleanup early return assistAleksey Kladov2020-02-072-11/+29
| | |
| * | Generalize invert_if to just always workAleksey Kladov2020-02-073-18/+35
|/ /
* | Merge #3042bors[bot]2020-02-062-2/+2
|\ \ | |/ |/| | | | | | | | | | | 3042: A tiny bit more consistent API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * A tiny bit more consistent APIAleksey Kladov2020-02-062-2/+2
|/
* Merge #3038bors[bot]2020-02-063-9/+11
|\ | | | | | | | | | | | | | | 3038: Minor rename r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Minor renameAleksey Kladov2020-02-063-9/+11
|/
* Merge #3036bors[bot]2020-02-063-5/+4
|\ | | | | | | | | | | | | | | | | | | 3036: Remove the leftovers after ImportLocator removal r=matklad a=SomeoneToIgnore Follow the FIXME's suggestion (https://github.com/rust-analyzer/rust-analyzer/pull/3034/files#diff-001b3b1412c33fee802c22b0f848dcd7L237) and remove the `ModuleDefId` reexport. Also rename `ImportsLocatorIde` into plain `ImportsLocator` Co-authored-by: Kirill Bulatov <[email protected]>