aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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]>
| * | remove last traces of source roots from hirAleksey Kladov2019-10-115-48/+71
| |/
* | Remove `as_original_file`Shotaro Yamada2019-10-101-10/+0
| |
* | Use `original_file` instead of `as_original_file`Shotaro Yamada2019-10-102-4/+4
|/
* Merge #1981bors[bot]2019-10-104-36/+33
|\ | | | | | | | | | | | | | | 1981: tweak fn labels in completion r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * tweak fn labels in completionAleksey Kladov2019-10-104-36/+33
| |
* | don't special case macro_useAleksey Kladov2019-10-103-23/+13
| |
* | don't special case path attrAleksey Kladov2019-10-103-34/+31
|/
* simplify a bitAleksey Kladov2019-10-102-10/+13
|
* simplify some testsAleksey Kladov2019-10-101-90/+24
|
* Refactor and fix some more edge cases around name resolutionAleksey Kladov2019-10-104-192/+209
|
* if completion does auto-insertion, indicate this in the labelAleksey Kladov2019-10-105-475/+562
|
* add `module` methodsEkaterina Babshukova2019-10-092-2/+42
|
* Merge #1973bors[bot]2019-10-092-57/+85
|\ | | | | | | | | | | | | | | 1973: add <> for type aliases as well r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add <> for type aliases as wellAleksey Kladov2019-10-092-53/+81
| |
| * smal cleanupAleksey Kladov2019-10-091-5/+5
| |
* | Merge #1972bors[bot]2019-10-091-0/+3
|\ \ | |/ |/| | | | | | | | | | | 1972: extend selection correctly handles commas in tuples r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * extend selection correctly handles commas in tuplesAleksey Kladov2019-10-091-0/+3
| |
* | add `<>` when completing generic typesAleksey Kladov2019-10-084-78/+198
| |
* | simplifyAleksey Kladov2019-10-081-4/+5
| |
* | refactorAleksey Kladov2019-10-081-11/+9
| |
* | refactorAleksey Kladov2019-10-081-8/+15
|/
* Merge #1969bors[bot]2019-10-0810-45/+82
|\ | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * restore coloring of attributesAleksey Kladov2019-10-082-1/+4
| |
| * hard-code nightly-only CFGsAleksey Kladov2019-10-081-0/+8
| |
| * macro DSL for cfg in testsAleksey Kladov2019-10-083-16/+23
| |
| * use slightly more idiomatic api for cfgAleksey Kladov2019-10-087-40/+59
| |