Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use Lazy, some fixes | Ekaterina Babshukova | 2019-10-22 | 9 | -43/+50 |
| | |||||
* | remove `unreachable!()` | Ekaterina Babshukova | 2019-10-22 | 4 | -15/+18 |
| | |||||
* | replace trait by a bunch of functions | Ekaterina Babshukova | 2019-10-22 | 9 | -330/+227 |
| | |||||
* | restructure a bit | Ekaterina Babshukova | 2019-10-22 | 11 | -700/+870 |
| | |||||
* | classify definition of a function right | Ekaterina Babshukova | 2019-10-22 | 1 | -0/+3 |
| | |||||
* | make `handle_references` accept refs from other files | Ekaterina Babshukova | 2019-10-22 | 1 | -4/+9 |
| | |||||
* | some fixes, add tests | Ekaterina Babshukova | 2019-10-22 | 3 | -39/+52 |
| | |||||
* | implement search of references | Ekaterina Babshukova | 2019-10-22 | 3 | -76/+134 |
| | |||||
* | find scope for `Declaration` item | Ekaterina Babshukova | 2019-10-22 | 4 | -46/+86 |
| | |||||
* | return Declaration from classify_name_ref | Ekaterina Babshukova | 2019-10-22 | 6 | -182/+323 |
| | |||||
* | return Declaration from classify_name | Ekaterina Babshukova | 2019-10-22 | 2 | -36/+59 |
| | |||||
* | replace a chain of `if let` by macro | Ekaterina Babshukova | 2019-10-22 | 3 | -255/+87 |
| | |||||
* | refactor name_ref_kind.rs | Ekaterina Babshukova | 2019-10-22 | 6 | -64/+61 |
| | |||||
* | initial classify_name | Ekaterina Babshukova | 2019-10-22 | 7 | -36/+376 |
| | |||||
* | Merge #2046 | bors[bot] | 2019-10-22 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 2046: Bump crates r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | Bump crates | kjeremy | 2019-10-22 | 1 | -1/+1 |
| | | |||||
* | | Merge #1933 | bors[bot] | 2019-10-22 | 4 | -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" assist | Mikhail Modin | 2019-10-20 | 4 | -0/+314 |
| | | |||||
* | | Merge #2044 | bors[bot] | 2019-10-22 | 4 | -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 #2033 | Alex Zatelepin | 2019-10-21 | 1 | -0/+43 |
| | | | |||||
| * | | fixup folding ranges for "lineFoldingOnly" clients #2033 | Alex Zatelepin | 2019-10-21 | 4 | -24/+74 |
| |/ | |||||
* / | Guess macro braces from docs | oxalica | 2019-10-20 | 2 | -7/+91 |
|/ | |||||
* | rename tools -> xtask | Aleksey Kladov | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | WIP: move to xtasks | Aleksey Kladov | 2019-10-17 | 9 | -1101/+0 |
| | |||||
* | relative-path 1.0 | kjeremy | 2019-10-17 | 8 | -9/+9 |
| | |||||
* | Bump deps | Laurențiu Nicola | 2019-10-17 | 5 | -7/+13 |
| | |||||
* | Merge #2012 | bors[bot] | 2019-10-17 | 2 | -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 literals | Sergey Parilin | 2019-10-14 | 2 | -2/+77 |
| | | |||||
* | | Merge #1998 | bors[bot] | 2019-10-17 | 1 | -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 pub | kjeremy | 2019-10-11 | 1 | -1/+1 |
| | | | |||||
* | | | minor cleanup | Aleksey Kladov | 2019-10-16 | 3 | -33/+38 |
| | | | |||||
* | | | Merge #2008 | bors[bot] | 2019-10-14 | 14 | -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 loading | Aleksey Kladov | 2019-10-14 | 14 | -88/+121 |
| | | | | |||||
* | | | | 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` |