aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* classify definition of a function rightEkaterina Babshukova2019-10-221-0/+3
|
* make `handle_references` accept refs from other filesEkaterina Babshukova2019-10-221-4/+9
|
* some fixes, add testsEkaterina Babshukova2019-10-223-39/+52
|
* implement search of referencesEkaterina Babshukova2019-10-223-76/+134
|
* find scope for `Declaration` itemEkaterina Babshukova2019-10-224-46/+86
|
* return Declaration from classify_name_refEkaterina Babshukova2019-10-226-182/+323
|
* return Declaration from classify_nameEkaterina Babshukova2019-10-222-36/+59
|
* replace a chain of `if let` by macroEkaterina Babshukova2019-10-223-255/+87
|
* refactor name_ref_kind.rsEkaterina Babshukova2019-10-226-64/+61
|
* initial classify_nameEkaterina Babshukova2019-10-227-36/+376
|
* Merge #2046bors[bot]2019-10-221-1/+1
|\ | | | | | | | | | | | | | | 2046: Bump crates r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Bump crateskjeremy2019-10-221-1/+1
| |
* | Merge #1933bors[bot]2019-10-224-0/+314
|\ \ | |/ |/| | | | | | | | | | | 1933: Adds "replace with guarded return" assist r=matklad a=mikhail-m1 first draft for #1782. I'm pretty sure I missed something. Co-authored-by: Mikhail Modin <[email protected]>
| * Adds "replace with guarded return" assistMikhail Modin2019-10-204-0/+314
| |
* | Merge #2044bors[bot]2019-10-224-24/+117
|\ \ | | | | | | | | | | | | | | | | | | | | | 2044: Fixup folding ranges for clients with lineFoldingOnly=true r=matklad a=ztlpn Fixes #2033 Co-authored-by: Alex Zatelepin <[email protected]>
| * | add test #2033Alex Zatelepin2019-10-211-0/+43
| | |
| * | fixup folding ranges for "lineFoldingOnly" clients #2033Alex Zatelepin2019-10-214-24/+74
| |/
* / Guess macro braces from docsoxalica2019-10-202-7/+91
|/
* rename tools -> xtaskAleksey Kladov2019-10-171-1/+1
|
* WIP: move to xtasksAleksey Kladov2019-10-179-1101/+0
|
* relative-path 1.0kjeremy2019-10-178-9/+9
|
* Bump depsLaurențiu Nicola2019-10-175-7/+13
|
* Merge #2012bors[bot]2019-10-172-2/+77
|\ | | | | | | | | | | | | | | 2012: #1435 postfix completion for integer literals r=matklad a=pasa Fix for #1435 Incorrect postfix completion for integer literals Co-authored-by: Sergey Parilin <[email protected]>
| * #1435 postfix completion for integer literalsSergey Parilin2019-10-142-2/+77
| |
* | Merge #1998bors[bot]2019-10-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 1998: No need to make config pub r=matklad a=kjeremy Just a drive by Co-authored-by: kjeremy <[email protected]>
| * | No need to make config pubkjeremy2019-10-111-1/+1
| | |
* | | minor cleanupAleksey Kladov2019-10-163-33/+38
| | |
* | | Merge #2008bors[bot]2019-10-1414-88/+121
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008: Prepare SourceDatabase API for lazy file loading r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-1414-88/+121
| | | |
* | | | Merge #2006bors[bot]2019-10-147-50/+49
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006: Improvements around `Arc<[T]>` r=matklad a=sinkuu First commit tries to avoid cloning `Arc<[T]>` to a temporary `Vec` for mutating it, if there are no other strong references. Second commit utilizes [`FromIterator for Arc<[T]>`](https://doc.rust-lang.org/std/sync/struct.Arc.html#impl-FromIterator%3CT%3E) instead of `.collect::<Vec<_>>().into()` to avoid allocation in `From<Vec<T>> for Arc<[T]>`. Co-authored-by: Shotaro Yamada <[email protected]>
| * | | | make_mut_sliceShotaro Yamada2019-10-144-42/+23
| | | | |
| * | | | import make_mut_arc_sliceShotaro Yamada2019-10-141-1/+2
| | | | |
| * | | | `.collect()` directly into `Arc<[T]>`Shotaro Yamada2019-10-144-25/+18
| | | | |
| * | | | Avoid cloning `Arc<[T]>` into a vec if possibleShotaro Yamada2019-10-145-31/+55
| | |_|/ | |/| |
* | | | Merge #2007bors[bot]2019-10-143-21/+26
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 2007: remove one more dependency on source roots r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | remove one more dependency on source rootsAleksey Kladov2019-10-143-21/+26
| |/ /
* | | Merge #2002bors[bot]2019-10-145-7/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002: Remove unused dependencies r=matklad a=sinkuu Co-authored-by: Shotaro Yamada <[email protected]>
| * | | Enable `serde` feature in ra_syntax/Cargo.tomlShotaro Yamada2019-10-141-0/+5
| | | |
| * | | Remove unused dependenciesShotaro Yamada2019-10-123-6/+0
| | | |
| * | | Remove smol_str dependency from ra_syntaxShotaro Yamada2019-10-112-5/+3
| | |/ | |/|
* | | Merge #1999bors[bot]2019-10-141-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999: Simplify find().is_some() to any() r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | use any()kjeremy2019-10-111-1/+1
| |/ /
* | | Merge #2000bors[bot]2019-10-141-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 2000: Use correct db type r=matklad a=kjeremy I think this is more correct. No test fallouts. Co-authored-by: kjeremy <[email protected]>
| * | Use correct db typekjeremy2019-10-111-1/+1
| |/
* | add syntax-tree based indentsAleksey Kladov2019-10-124-13/+103
| |
* | Split up infer.rs furtherFlorian Diebold2019-10-124-1135/+1192
|/ | | | | | - coercion logic goes to `coerce.rs` - expression inference goes to `expr.rs` - pattern inference goes to `pat.rs`
* Merge #1989bors[bot]2019-10-111-24/+34
|\ | | | | | | | | | | | | | | 1989: Chalk update to simplified IR r=flodiebold a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Chalk update to simplified IRkjeremy2019-10-101-24/+34
| |
* | reduce visibilityAleksey Kladov2019-10-111-3/+3
| |
* | Merge #1994bors[bot]2019-10-115-48/+71
|\ \ | | | | | | | | | | | | | | | | | | | | | 1994: remove last traces of source roots from hir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>