Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #2151 | bors[bot] | 2019-11-01 | 9 | -100/+560 |
|\ | | | | | | | | | | | | | | | | | | | 2151: Resolve (and complete) trait calls like `Vec::default()` r=flodiebold a=flodiebold Similar to rustc, we do this using the same code as the method call resolution, just without doing autoderef (and considering more potential candidates). (Btw, we currently don't complete methods with `self` in path notation, even though they'd be legal to use, so maybe we should -- on the other hand, that will usually not be the most interesting completions...) Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | 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 |
| | | |||||
* | | Merge #2147 | bors[bot] | 2019-11-01 | 2 | -1/+22 |
|\ \ | |/ |/| | | | | | | | | | | | 2147: Fixes #2143 r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | Fixes #2143 | kjeremy | 2019-10-31 | 2 | -1/+22 |
|/ | |||||
* | Merge #2145 | bors[bot] | 2019-10-31 | 1 | -16/+26 |
|\ | | | | | | | | | | | | | | | 2145: updates r=matklad a=kjeremy Pulls in new num_cpus which fixes an issue on AMD. Co-authored-by: kjeremy <[email protected]> | ||||
| * | updates | kjeremy | 2019-10-31 | 1 | -16/+26 |
|/ | |||||
* | Merge #2144 | bors[bot] | 2019-10-31 | 8 | -201/+214 |
|\ | | | | | | | | | | | | | | | 2144: move struct & enum data to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 8 | -201/+214 |
|/ | |||||
* | Merge #2141 | bors[bot] | 2019-10-31 | 3 | -11/+61 |
|\ | | | | | | | | | | | | | | | 2141: add ModuleDefId to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | add ModuleDefId to hir_def | Aleksey Kladov | 2019-10-31 | 3 | -11/+61 |
|/ | |||||
* | Merge #2140 | bors[bot] | 2019-10-31 | 8 | -78/+88 |
|\ | | | | | | | | | | | | | | | 2140: move builtin types to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 8 | -78/+88 |
| | | |||||
* | | Merge #2139 | bors[bot] | 2019-10-31 | 4 | -14/+15 |
|\| | | | | | | | | | | | | | | | 2139: move mod_resolution to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | move mod_resolution to hir_def | Aleksey Kladov | 2019-10-31 | 4 | -14/+15 |
|/ | |||||
*-. | Merge #2134 #2137 | bors[bot] | 2019-10-30 | 4 | -41/+51 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2134: More match ast r=matklad a=kjeremy Use `match_ast!` in more places 2137: Add link to the vscode VIM extension compatibility warning. r=matklad a=krk Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1831 Co-authored-by: kjeremy <[email protected]> Co-authored-by: krk <[email protected]> | ||||
| | * | Add link to the vscode VIM extension compatibility warning. | krk | 2019-10-30 | 1 | -1/+1 |
| | | | |||||
| * | | 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 |
| |/ | |||||
* | | Merge #2136 | bors[bot] | 2019-10-30 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | | | | | | | 2136: Fix typo in xtask/src/main.rs. r=kjeremy a=krk Co-authored-by: krk <[email protected]> | ||||
| * | Fix typo in xtask/src/main.rs. | krk | 2019-10-30 | 1 | -1/+1 |
|/ | |||||
* | Merge #2133 | bors[bot] | 2019-10-30 | 2 | -9/+22 |
|\ | | | | | | | | | | | | | | | 2133: Document match_ast! and use it in call_info r=matklad a=kjeremy Suggested by @matklad in https://github.com/rust-analyzer/rust-analyzer/pull/2129#discussion_r340708660 Co-authored-by: kjeremy <[email protected]> | ||||
| * | 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 #2132 | bors[bot] | 2019-10-30 | 1 | -0/+1 |
|\ \ | |/ |/| | | | | | | | | | | | 2132: echo cargo version during install r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | echo cargo version during install | Aleksey Kladov | 2019-10-30 | 1 | -0/+1 |
| | | |||||
* | | Merge #2129 | bors[bot] | 2019-10-30 | 17 | -29/+23 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2129: Some clippy fixes r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Some clippy fixes | kjeremy | 2019-10-30 | 17 | -29/+23 |
| | | | |||||
* | | | Merge #2130 | bors[bot] | 2019-10-30 | 24 | -157/+178 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 2130: improve compile time a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | improve compile time a bit | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | | | |||||
| * | | move hygiene to hir_expand | Aleksey Kladov | 2019-10-30 | 8 | -29/+28 |
| | | | |||||
| * | | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 21 | -50/+49 |
| | | | |||||
| * | | push either to hir_expand | Aleksey Kladov | 2019-10-30 | 7 | -22/+16 |
| | | | |||||
| * | | refactor $crate handling | Aleksey Kladov | 2019-10-30 | 7 | -89/+118 |
| | | | | | | | | | | | | | | | Introduce proper hygiene module, which should grow quite a bit eventually. | ||||
* | | | Merge #2128 | bors[bot] | 2019-10-30 | 41 | -270/+350 |
|\| | | |/ |/| | | | | | | | | | | | 2128: move raw_items to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | remove forward pointer for attrs | Aleksey Kladov | 2019-10-30 | 4 | -6/+2 |
| | |