Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Merge #2006 | bors[bot] | 2019-10-14 | 7 | -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_slice | Shotaro Yamada | 2019-10-14 | 4 | -42/+23 | |
| | | | | | ||||||
| * | | | | import make_mut_arc_slice | Shotaro Yamada | 2019-10-14 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | `.collect()` directly into `Arc<[T]>` | Shotaro Yamada | 2019-10-14 | 4 | -25/+18 | |
| | | | | | ||||||
| * | | | | Avoid cloning `Arc<[T]>` into a vec if possible | Shotaro Yamada | 2019-10-14 | 5 | -31/+55 | |
| | |_|/ | |/| | | ||||||
* | | | | Merge #2007 | bors[bot] | 2019-10-14 | 3 | -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 roots | Aleksey Kladov | 2019-10-14 | 3 | -21/+26 | |
| |/ / | ||||||
* | | | Merge #2002 | bors[bot] | 2019-10-14 | 5 | -7/+4 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002: Remove unused dependencies r=matklad a=sinkuu Co-authored-by: Shotaro Yamada <[email protected]> | |||||
| * | | | Enable `serde` feature in ra_syntax/Cargo.toml | Shotaro Yamada | 2019-10-14 | 1 | -0/+5 | |
| | | | | ||||||
| * | | | Remove unused dependencies | Shotaro Yamada | 2019-10-12 | 3 | -6/+0 | |
| | | | | ||||||
| * | | | Remove smol_str dependency from ra_syntax | Shotaro Yamada | 2019-10-11 | 2 | -5/+3 | |
| | |/ | |/| | ||||||
* | | | Merge #1999 | bors[bot] | 2019-10-14 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999: Simplify find().is_some() to any() r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | |||||
| * | | | use any() | kjeremy | 2019-10-11 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Merge #2000 | bors[bot] | 2019-10-14 | 1 | -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 type | kjeremy | 2019-10-11 | 1 | -1/+1 | |
| |/ | ||||||
* | | add syntax-tree based indents | Aleksey Kladov | 2019-10-12 | 4 | -13/+103 | |
| | | ||||||
* | | Split up infer.rs further | Florian Diebold | 2019-10-12 | 4 | -1135/+1192 | |
|/ | | | | | | - coercion logic goes to `coerce.rs` - expression inference goes to `expr.rs` - pattern inference goes to `pat.rs` | |||||
* | Merge #1989 | bors[bot] | 2019-10-11 | 1 | -24/+34 | |
|\ | | | | | | | | | | | | | | | 1989: Chalk update to simplified IR r=flodiebold a=kjeremy Co-authored-by: kjeremy <[email protected]> | |||||
| * | Chalk update to simplified IR | kjeremy | 2019-10-10 | 1 | -24/+34 | |
| | | ||||||
* | | reduce visibility | Aleksey Kladov | 2019-10-11 | 1 | -3/+3 | |
| | | ||||||
* | | Merge #1994 | bors[bot] | 2019-10-11 | 5 | -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 hir | Aleksey Kladov | 2019-10-11 | 5 | -48/+71 | |
| |/ | ||||||
* | | Remove `as_original_file` | Shotaro Yamada | 2019-10-10 | 1 | -10/+0 | |
| | | ||||||
* | | Use `original_file` instead of `as_original_file` | Shotaro Yamada | 2019-10-10 | 2 | -4/+4 | |
|/ | ||||||
* | Merge #1981 | bors[bot] | 2019-10-10 | 4 | -36/+33 | |
|\ | | | | | | | | | | | | | | | 1981: tweak fn labels in completion r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | tweak fn labels in completion | Aleksey Kladov | 2019-10-10 | 4 | -36/+33 | |
| | | ||||||
* | | don't special case macro_use | Aleksey Kladov | 2019-10-10 | 3 | -23/+13 | |
| | | ||||||
* | | don't special case path attr | Aleksey Kladov | 2019-10-10 | 3 | -34/+31 | |
|/ | ||||||
* | simplify a bit | Aleksey Kladov | 2019-10-10 | 2 | -10/+13 | |
| | ||||||
* | simplify some tests | Aleksey Kladov | 2019-10-10 | 1 | -90/+24 | |
| | ||||||
* | Refactor and fix some more edge cases around name resolution | Aleksey Kladov | 2019-10-10 | 4 | -192/+209 | |
| | ||||||
* | if completion does auto-insertion, indicate this in the label | Aleksey Kladov | 2019-10-10 | 5 | -475/+562 | |
| | ||||||
* | add `module` methods | Ekaterina Babshukova | 2019-10-09 | 2 | -2/+42 | |
| | ||||||
* | Merge #1973 | bors[bot] | 2019-10-09 | 2 | -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 well | Aleksey Kladov | 2019-10-09 | 2 | -53/+81 | |
| | | ||||||
| * | smal cleanup | Aleksey Kladov | 2019-10-09 | 1 | -5/+5 | |
| | | ||||||
* | | Merge #1972 | bors[bot] | 2019-10-09 | 1 | -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 tuples | Aleksey Kladov | 2019-10-09 | 1 | -0/+3 | |
| | | ||||||
* | | add `<>` when completing generic types | Aleksey Kladov | 2019-10-08 | 4 | -78/+198 | |
| | | ||||||
* | | simplify | Aleksey Kladov | 2019-10-08 | 1 | -4/+5 | |
| | | ||||||
* | | refactor | Aleksey Kladov | 2019-10-08 | 1 | -11/+9 | |
| | | ||||||
* | | refactor | Aleksey Kladov | 2019-10-08 | 1 | -8/+15 | |
|/ | ||||||
* | Merge #1969 | bors[bot] | 2019-10-08 | 10 | -45/+82 | |
|\ | | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | restore coloring of attributes | Aleksey Kladov | 2019-10-08 | 2 | -1/+4 | |
| | | ||||||
| * | hard-code nightly-only CFGs | Aleksey Kladov | 2019-10-08 | 1 | -0/+8 | |
| | | ||||||
| * | macro DSL for cfg in tests | Aleksey Kladov | 2019-10-08 | 3 | -16/+23 | |
| | | ||||||
| * | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 7 | -40/+59 | |
| | | ||||||
* | | Merge #1924 | bors[bot] | 2019-10-08 | 8 | -9/+81 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 1924: Support inferring&completing `Self` type in enum/struct/union definitions r=ice1000 a=ice1000 Signed-off-by: ice1000 <[email protected]> An attempt to fix #1908. This code works, but I believe the implementation is ugly. Please give me suggestions! Co-authored-by: ice1000 <[email protected]> | |||||
| * | Address comments: fix docs, add completion test for `Self`. | ice1000 | 2019-10-08 | 4 | -5/+32 | |
| | | ||||||
| * | Support inferring `Self` type in enum definitions | ice1000 | 2019-10-08 | 7 | -9/+54 | |
| | | | | | | | | Signed-off-by: ice1000 <[email protected]> |