Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Give literal expression default values for now | Marcus Klaas de Vries | 2019-01-14 | 1 | -23/+9 | |
| | | | | ||||||
| * | | | Fixup tests | Marcus Klaas de Vries | 2019-01-14 | 12 | -211/+283 | |
| | | | | ||||||
| * | | | Start moving literal interpretation to the AST (WIP) | Marcus Klaas de Vries | 2019-01-14 | 4 | -10/+131 | |
| | | | | ||||||
| * | | | don't try to treat arrays and tuples as literals | Marcus Klaas de Vries | 2019-01-14 | 5 | -57/+27 | |
| | | | | ||||||
| * | | | Use type variables to determine exact type for ambiguous numeric literals | Marcus Klaas de Vries | 2019-01-14 | 6 | -14/+64 | |
| | | | | ||||||
| * | | | Try implementing integer type inference (WIP) | Marcus Klaas de Vries | 2019-01-14 | 8 | -46/+129 | |
| | | | | ||||||
| * | | | Implement type inference for literals (WIP) | Marcus Klaas de Vries | 2019-01-14 | 8 | -5/+166 | |
| |/ / | ||||||
* / / | update cargo_metadata | Aleksey Kladov | 2019-01-14 | 2 | -3/+6 | |
|/ / | ||||||
* | | switch to lsp-types | Aleksey Kladov | 2019-01-14 | 12 | -29/+29 | |
| | | ||||||
* | | Remove duplication | Jeremy Kolb | 2019-01-14 | 1 | -74/+23 | |
| | | ||||||
* | | Add visibility to hover | Jeremy Kolb | 2019-01-14 | 1 | -9/+41 | |
|/ | ||||||
* | target_selection_range is not nullable in the implementation | Aleksey Kladov | 2019-01-13 | 1 | -5/+10 | |
| | ||||||
* | Merge #532 | bors[bot] | 2019-01-13 | 2 | -2/+21 | |
|\ | | | | | | | | | | | | | | | 532: fix go to parent module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | fix go to parent module | Aleksey Kladov | 2019-01-13 | 2 | -2/+21 | |
| | | ||||||
* | | Fix some random typos | Pascal Hertleif | 2019-01-13 | 3 | -10/+10 | |
|/ | ||||||
* | goto defenition works for type-inferred methods | Aleksey Kladov | 2019-01-13 | 2 | -5/+71 | |
| | ||||||
* | fix indent caclulation | Aleksey Kladov | 2019-01-13 | 3 | -11/+51 | |
| | ||||||
* | Merge #520 | bors[bot] | 2019-01-13 | 6 | -3/+74 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 520: Imprement tuple inference r=flodiebold a=h-michael related #394 I'm sorry I'm late. I try implementing array inference next. Co-authored-by: Hirokazu Hata <[email protected]> | |||||
| * | Fix tuple test case | Hirokazu Hata | 2019-01-13 | 2 | -6/+35 | |
| | | ||||||
| * | Implement tuple inference | Hirokazu Hata | 2019-01-13 | 2 | -1/+20 | |
| | | ||||||
| * | Update TUPLE_EXPR grammar | Hirokazu Hata | 2019-01-13 | 2 | -2/+8 | |
| | | ||||||
| * | Add infer tuple test | Hirokazu Hata | 2019-01-13 | 2 | -0/+17 | |
| | | ||||||
* | | Tweak message shown for query fallback | Pascal Hertleif | 2019-01-13 | 1 | -1/+5 | |
|/ | | | | Small tweak for #518 | |||||
*-. | Merge #517 #518 | bors[bot] | 2019-01-13 | 5 | -51/+114 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 517: gracefully handle cycles in crate graph r=matklad a=matklad 518: Add an explanatory message when we use the Query fallback r=matklad a=DJMcNab Fixes https://github.com/rust-analyzer/rust-analyzer/issues/269. There is no good way to explain it for go_to_def, so I've just fallen back on to_vec. Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: DJMcNab <[email protected]> | |||||
| | * | Add an explanatory message when we use the Query fallback | DJMcNab | 2019-01-13 | 2 | -10/+36 | |
| | | | ||||||
| * | | gracefully handle cycles in crate graph | Aleksey Kladov | 2019-01-13 | 3 | -41/+78 | |
| | | | | | | | | | | | | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles. | |||||
* | | | Merge #519 | bors[bot] | 2019-01-13 | 5 | -11/+46 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 519: support ref-patterns r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | support ref-patterns | Aleksey Kladov | 2019-01-13 | 5 | -11/+46 | |
| |/ | ||||||
* | | Merge #513 | bors[bot] | 2019-01-13 | 3 | -35/+53 | |
|\ \ | |/ |/| | | | | | | | | | | | 513: Add bench runnable and code lens r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | Add bench runnable and code lens | Jeremy Kolb | 2019-01-12 | 3 | -35/+53 | |
| | | ||||||
* | | Fix typos | Jeremy Kolb | 2019-01-13 | 1 | -2/+2 | |
|/ | ||||||
* | Merge #505 | bors[bot] | 2019-01-12 | 16 | -47/+398 | |
|\ | | | | | | | | | | | | | | | | | | | 505: Inherent methods r=matklad a=flodiebold This adds resolution, type checking and completion for inherent methods. The main open question here is the caching, I think. I'm not sure whether we should be caching method resolutions in a more fine grained way (currently we just build a hash map of types -> impl blocks, and iterate through all potential impl blocks when looking for a method). Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | args -> params | Florian Diebold | 2019-01-12 | 8 | -37/+37 | |
| | | ||||||
| * | Small improvements from review comments | Florian Diebold | 2019-01-12 | 3 | -20/+20 | |
| | | ||||||
| * | Complete inherent methods | Florian Diebold | 2019-01-12 | 3 | -4/+63 | |
| | | ||||||
| * | Implement basic inherent method resolution | Florian Diebold | 2019-01-12 | 11 | -17/+309 | |
| | | ||||||
* | | Merge #500 | bors[bot] | 2019-01-12 | 6 | -99/+154 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 500: Code lens support for running tests r=matklad a=kjeremy Supports running individual and mod tests. I feel like this kind of abuses the `Runnables` infrastructure but it works. Maybe later on down the line we should introduce a struct that is really just a tuple of binary, arguments, and environment and pass that back to the client instead. `run_single.ts` is just a paired down version of `runnables.ts` and there is duplication because I think run_single will probably change independent of runnables. Co-authored-by: Jeremy A. Kolb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | | Move `CargoTargetSpec` and friends to cargo_target_spec module | Jeremy Kolb | 2019-01-12 | 3 | -90/+102 | |
| | | | ||||||
| * | | Code lens support for running tests | Jeremy A. Kolb | 2019-01-11 | 4 | -85/+128 | |
| | | | ||||||
* | | | Merge #507 | bors[bot] | 2019-01-12 | 3 | -0/+53 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 507: Fix handling of attributes in positional field lists r=matklad a=DJMcNab First reported by @max-frai. This allows us to properly handle crates using e.g. `#[Derive(fail)]` with `#[fail(cause)]`, among other cases. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | | | Fix handling of attributes in positional field lists | DJMcNab | 2019-01-12 | 3 | -0/+53 | |
| | |/ | |/| | ||||||
* / | | Use --force when installing the VSIX. | DJMcNab | 2019-01-12 | 1 | -2/+2 | |
|/ / | ||||||
* | | Switch hover to use MarkupContent | Jeremy Kolb | 2019-01-12 | 1 | -2/+5 | |
| | | | | | | | | MarkedString is deprecated | |||||
* | | Fix assertion error in unification (hopefully) | Florian Diebold | 2019-01-11 | 3 | -7/+50 | |
| | | | | | | | | | | | | | | Currently, all types that we handle during inference need to be resolved as far as possible at the time. It's maybe too brittle of an invariant; I need to think how we can do this better. This should fix #484 though, I hope (if it's the same case as I managed to reproduce). | |||||
* | | warn louder on mising sysroot | Aleksey Kladov | 2019-01-11 | 2 | -1/+9 | |
|/ | ||||||
* | actually produce missing def kinds | Aleksey Kladov | 2019-01-11 | 7 | -8/+122 | |
| | ||||||
* | uncopypaste def sources | Aleksey Kladov | 2019-01-11 | 3 | -40/+26 | |
| | ||||||
* | add missing def kinds | Aleksey Kladov | 2019-01-11 | 1 | -0/+20 | |
| | ||||||
* | rename TreePtr -> TreeArc | Aleksey Kladov | 2019-01-11 | 24 | -194/+194 | |
| | | | | This is much clearer about the semantics | |||||
* | Merge #496 | bors[bot] | 2019-01-11 | 12 | -248/+294 | |
|\ | | | | | | | | | | | | | | | 496: Include two element ranges into the nav. r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> |