aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Use `bool` instead of `Option<bool>` and print it's value only when `true`Martin Asquino2019-11-029-79/+6
| | |
| * | Set `deprecated` field on `CompletionItem`sMartin Asquino2019-11-029-1/+186
| | |
* | | Merge #2164bors[bot]2019-11-021-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2164: Silence some warnings r=matklad a=lnicola ``` warning: unnecessary parentheses around type --> crates/ra_tt/src/buffer.rs:114:32 | 114 | pub fn end(self) -> Option<(&'a Subtree)> { | ^^^^^^^^^^^^^ help: remove these parentheses | = note: `#[warn(unused_parens)]` on by default warning: unnecessary parentheses around type --> crates/ra_tt/src/buffer.rs:130:30 | 130 | fn entry(self) -> Option<(&'a Entry<'a>)> { | ^^^^^^^^^^^^^^^ help: remove these parentheses ``` Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Silence some warningsLaurențiu Nicola2019-11-021-2/+2
|/ / /
* | | Merge #2162bors[bot]2019-11-0211-109/+130
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2162: Move diagnostics to hir_expand r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Move diagnostics to hir_expandAleksey Kladov2019-11-028-89/+107
| | | |
| * | | Move Source to hir_expandAleksey Kladov2019-11-024-20/+23
|/ / /
* | | Merge #2159bors[bot]2019-11-021-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2159: Remove forcing \n via rustfmt r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Remove forcing \n via rustfmtAleksey Kladov2019-11-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original idea here was to make sure, on CI, that line endings are \n. Travis however uses autocrlf, so the check doesn't actually work, and forcing \n otherwise makes lives of windows folks difficult closes #2157
* | | | Merge #2156bors[bot]2019-11-022-30/+30
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 2156: Upgrade Chalk r=flodiebold a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | | Upgrade ChalkFlorian Diebold2019-11-022-30/+30
|/ / /
* | | 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
| |