Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #2172 | bors[bot] | 2019-11-04 | 3 | -138/+25 |
|\ | | | | | | | | | | | | | | | 2172: Use new text DSL instead of crate_graph! macro r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Cleanup unused marks | Aleksey Kladov | 2019-11-04 | 1 | -10/+0 |
| | | |||||
| * | Use new text DSL instead of crate_graph! macro | Aleksey Kladov | 2019-11-04 | 3 | -128/+25 |
| | | |||||
* | | Merge #2149 | bors[bot] | 2019-11-04 | 2 | -29/+207 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | 2149: Handle IfLet in convert_to_guarded_return. r=matklad a=krk Fixes https://github.com/rust-analyzer/rust-analyzer/issues/2124 I could not move the cursor position out of `let`: `le<|>t` vs `let<|>`. Also, please suggest extra test cases. Co-authored-by: krk <[email protected]> | ||||
| * | Extract common parts of match arms in convert_to_guarded_return assist. | krk | 2019-11-01 | 1 | -50/+37 |
| | | |||||
| * | Support paths other than "Some". | krk | 2019-11-01 | 2 | -10/+59 |
| | | |||||
| * | Remove variable pat. | krk | 2019-11-01 | 1 | -2/+1 |
| | | |||||
| * | Handle IfLet in convert_to_guarded_return. | krk | 2019-10-31 | 2 | -28/+171 |
| | | |||||
* | | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 15 | -24/+15 |
| | | |||||
* | | Add small module-level docs | Aleksey Kladov | 2019-11-03 | 3 | -0/+9 |
| | | |||||
* | | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 8 | -67/+59 |
| | | |||||
* | | Restore crate_def_map marks | Aleksey Kladov | 2019-11-03 | 9 | -26/+41 |
| | | |||||
* | | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 12 | -195/+308 |
| | | |||||
* | | Introduce ra_db::fixture fixture module | Aleksey Kladov | 2019-11-03 | 6 | -11/+96 |
| | | | | | | | | The goal here is to share more testing infrastructure between crates. | ||||
* | | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 23 | -733/+826 |
| | | |||||
* | | Merge #2160 | bors[bot] | 2019-11-03 | 4 | -1/+113 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2160: Set `deprecated` field on `CompletionItem`s r=matklad a=martskins This PR aims to address #2042 by setting the deprecated field for completion items. The setting the tags field for LSP 3.15 part still needs fixing, but that one is blocked due to lsp-types not being up to date with 3.15 yet. Co-authored-by: Martin Asquino <[email protected]> | ||||
| * | | Use `bool` instead of `Option<bool>` and print it's value only when `true` | Martin Asquino | 2019-11-02 | 9 | -79/+6 |
| | | | |||||
| * | | Set `deprecated` field on `CompletionItem`s | Martin Asquino | 2019-11-02 | 9 | -1/+186 |
| | | | |||||
* | | | Silence some warnings | Laurențiu Nicola | 2019-11-02 | 1 | -2/+2 |
| | | | |||||
* | | | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 8 | -89/+107 |
| | | | |||||
* | | | Move Source to hir_expand | Aleksey Kladov | 2019-11-02 | 4 | -20/+23 |
| | | | |||||
* | | | Upgrade Chalk | Florian Diebold | 2019-11-02 | 1 | -3/+3 |
|/ / | |||||
* | | Change SourceAnalyzer method resoltion API | Florian Diebold | 2019-11-01 | 4 | -36/+44 |
| | | |||||
* | | Various review fixes | Florian Diebold | 2019-11-01 | 3 | -17/+13 |
| | | |||||
* | | Add some doc comments | Florian Diebold | 2019-11-01 | 1 | -0/+6 |
| | | |||||
* | | Complete items on traits as well | Florian Diebold | 2019-11-01 | 1 | -2/+46 |
| | | |||||
* | | Complete trait assoc items | Florian Diebold | 2019-11-01 | 5 | -17/+56 |
| | | |||||
* | | Add failing tests for trait assoc method completion | Florian Diebold | 2019-11-01 | 1 | -0/+60 |
| | | |||||
* | | Refactor a bit | Florian Diebold | 2019-11-01 | 1 | -36/+25 |
| | | |||||
* | | Don't do autoderef for path resolution | Florian Diebold | 2019-11-01 | 1 | -18/+39 |
| | | |||||
* | | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 7 | -141/+117 |
| | | |||||
* | | Record assoc item resolution | Florian Diebold | 2019-11-01 | 2 | -1/+58 |
| | | |||||
* | | Insert type vars before doing assoc item resolution | Florian Diebold | 2019-11-01 | 2 | -12/+15 |
| | | |||||
* | | Add another unrelated, currently not working test | Florian Diebold | 2019-11-01 | 1 | -0/+16 |
| | | |||||
* | | Get trait assoc item resolution mostly working | Florian Diebold | 2019-11-01 | 3 | -16/+261 |
| | | |||||
* | | Merge #2150 | bors[bot] | 2019-11-01 | 2 | -1/+15 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2150: Attach docs to statics r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Attach docs to statics | kjeremy | 2019-10-31 | 2 | -1/+15 |
| | | | |||||
* | | | Fixes #2143 | kjeremy | 2019-10-31 | 2 | -1/+22 |
|/ / | |||||
* | | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 8 | -201/+214 |
| | | |||||
* | | add ModuleDefId to hir_def | Aleksey Kladov | 2019-10-31 | 3 | -11/+61 |
| | | |||||
* | | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 8 | -78/+88 |
| | | |||||
* | | move mod_resolution to hir_def | Aleksey Kladov | 2019-10-31 | 4 | -14/+15 |
| | | |||||
* | | runnables => match_ast! | kjeremy | 2019-10-30 | 1 | -7/+7 |
| | | |||||
* | | traits => match_ast! | kjeremy | 2019-10-30 | 1 | -5/+7 |
| | | |||||
* | | source_binder => match_ast! | kjeremy | 2019-10-30 | 1 | -28/+36 |
|/ | |||||
* | Use match_ast! in FnCallNode::with_node | kjeremy | 2019-10-30 | 1 | -9/+8 |
| | |||||
* | Document match_ast! | kjeremy | 2019-10-30 | 1 | -0/+14 |
| | |||||
* | Merge #2129 | bors[bot] | 2019-10-30 | 13 | -21/+17 |
|\ | | | | | | | | | | | | | | | 2129: Some clippy fixes r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | Some clippy fixes | kjeremy | 2019-10-30 | 13 | -21/+17 |
| | | |||||
* | | improve compile time a bit | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | |