aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #2152bors[bot]2019-11-011-1/+8
|\ | | | | | | | | | | | | | | 2152: Use run-time project path in xtask r=matklad a=lnicola Fixes #2131. Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * Use run-time project path in xtaskLaurențiu Nicola2019-11-011-1/+8
|/
* Merge #2151bors[bot]2019-11-019-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 APIFlorian Diebold2019-11-014-36/+44
| |
| * Various review fixesFlorian Diebold2019-11-013-17/+13
| |
| * Add some doc commentsFlorian Diebold2019-11-011-0/+6
| |
| * Complete items on traits as wellFlorian Diebold2019-11-011-2/+46
| |
| * Complete trait assoc itemsFlorian Diebold2019-11-015-17/+56
| |
| * Add failing tests for trait assoc method completionFlorian Diebold2019-11-011-0/+60
| |
| * Refactor a bitFlorian Diebold2019-11-011-36/+25
| |
| * Don't do autoderef for path resolutionFlorian Diebold2019-11-011-18/+39
| |
| * Refactor to unify with method resolutionFlorian Diebold2019-11-017-141/+117
| |
| * Record assoc item resolutionFlorian Diebold2019-11-012-1/+58
| |
| * Insert type vars before doing assoc item resolutionFlorian Diebold2019-11-012-12/+15
| |
| * Add another unrelated, currently not working testFlorian Diebold2019-11-011-0/+16
| |
| * Get trait assoc item resolution mostly workingFlorian Diebold2019-11-013-16/+261
|/
* Merge #2150bors[bot]2019-11-012-1/+15
|\ | | | | | | | | | | | | | | 2150: Attach docs to statics r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Attach docs to staticskjeremy2019-10-312-1/+15
| |
* | Merge #2147bors[bot]2019-11-012-1/+22
|\ \ | |/ |/| | | | | | | | | | | 2147: Fixes #2143 r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Fixes #2143kjeremy2019-10-312-1/+22
|/
* Merge #2145bors[bot]2019-10-311-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]>
| * updateskjeremy2019-10-311-16/+26
|/
* Merge #2144bors[bot]2019-10-318-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_defAleksey Kladov2019-10-318-201/+214
|/
* Merge #2141bors[bot]2019-10-313-11/+61
|\ | | | | | | | | | | | | | | 2141: add ModuleDefId to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add ModuleDefId to hir_defAleksey Kladov2019-10-313-11/+61
|/
* Merge #2140bors[bot]2019-10-318-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_defAleksey Kladov2019-10-318-78/+88
| |
* | Merge #2139bors[bot]2019-10-314-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_defAleksey Kladov2019-10-314-14/+15
|/
*-. Merge #2134 #2137bors[bot]2019-10-304-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.krk2019-10-301-1/+1
| | |
| * | runnables => match_ast!kjeremy2019-10-301-7/+7
| | |
| * | traits => match_ast!kjeremy2019-10-301-5/+7
| | |
| * | source_binder => match_ast!kjeremy2019-10-301-28/+36
| |/
* | Merge #2136bors[bot]2019-10-301-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.krk2019-10-301-1/+1
|/
* Merge #2133bors[bot]2019-10-302-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_nodekjeremy2019-10-301-9/+8
| |
| * Document match_ast!kjeremy2019-10-301-0/+14
| |
* | Merge #2132bors[bot]2019-10-301-0/+1
|\ \ | |/ |/| | | | | | | | | | | 2132: echo cargo version during install r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * echo cargo version during installAleksey Kladov2019-10-301-0/+1
| |
* | Merge #2129bors[bot]2019-10-3017-29/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | 2129: Some clippy fixes r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | Some clippy fixeskjeremy2019-10-3017-29/+23
| | |
* | | Merge #2130bors[bot]2019-10-3024-157/+178
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2130: improve compile time a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | improve compile time a bitAleksey Kladov2019-10-301-1/+1
| | |
| * | move hygiene to hir_expandAleksey Kladov2019-10-308-29/+28
| | |
| * | push name down to hir_expandAleksey Kladov2019-10-3021-50/+49
| | |
| * | push either to hir_expandAleksey Kladov2019-10-307-22/+16
| | |
| * | refactor $crate handlingAleksey Kladov2019-10-307-89/+118
| | | | | | | | | | | | | | | Introduce proper hygiene module, which should grow quite a bit eventually.