Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1562 | bors[bot] | 2019-07-20 | 6 | -1/+121 |
|\ | | | | | | | | | | | | | | | | | 1562: Continue support for .await r=matklad a=unrealhoang - add await expr to ast and HIR Expr - infer type for `.await` Co-authored-by: Unreal Hoang <[email protected]> | ||||
| * | infer type for await | Unreal Hoang | 2019-07-20 | 3 | -2/+78 |
| | | | | | | | | by projecting inner_ty to Future::Output alias | ||||
| * | add await expr to ast | Unreal Hoang | 2019-07-20 | 4 | -1/+45 |
| | | |||||
* | | Merge #1560 | bors[bot] | 2019-07-20 | 57 | -241/+260 |
|\ \ | |/ |/| | | | | | | | | | | | 1560: move debug_dump to fmt::Debug r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 54 | -192/+219 |
| | | |||||
| * | move debug_dump to fmt::Debug | Aleksey Kladov | 2019-07-20 | 10 | -50/+42 |
| | | |||||
* | | add await to syntax, parser for await_expr | Unreal Hoang | 2019-07-20 | 5 | -0/+93 |
|/ | |||||
* | remove lifetime from syntax node text | Aleksey Kladov | 2019-07-19 | 3 | -14/+15 |
| | |||||
* | sane indexing in text | Aleksey Kladov | 2019-07-19 | 2 | -11/+13 |
| | |||||
* | flip syntax text to use internal iteration | Aleksey Kladov | 2019-07-19 | 4 | -38/+78 |
| | |||||
* | drop memory size of subtree | Aleksey Kladov | 2019-07-19 | 2 | -15/+4 |
| | | | | | it wasn't too accurate and the new measurement method of dropping the database completely is better anyway | ||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 8 | -50/+63 |
| | |||||
* | minor | Aleksey Kladov | 2019-07-19 | 1 | -5/+1 |
| | |||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 6 | -850/+975 |
| | |||||
* | several highlighting cleanups | Aleksey Kladov | 2019-07-19 | 6 | -68/+92 |
| | | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function | ||||
* | switch to the upstream rowan | Aleksey Kladov | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | migrate ra_cli to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -3/+3 |
| | |||||
* | migrate ra_ide_api to the new rowan | Aleksey Kladov | 2019-07-19 | 29 | -290/+342 |
| | |||||
* | migrate ra_assists to the new AST | Aleksey Kladov | 2019-07-19 | 17 | -204/+213 |
| | |||||
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 22 | -210/+206 |
| | |||||
* | migrate ra_fmt to new rowan | Aleksey Kladov | 2019-07-19 | 1 | -7/+7 |
| | |||||
* | migrate mbe to the new rowan | Aleksey Kladov | 2019-07-19 | 4 | -36/+27 |
| | |||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 18 | -2347/+1183 |
| | |||||
* | use Parse in mbe | Aleksey Kladov | 2019-07-18 | 7 | -63/+64 |
| | |||||
* | make Parse generic | Aleksey Kladov | 2019-07-18 | 5 | -23/+44 |
| | |||||
* | Merge #1547 | bors[bot] | 2019-07-18 | 2 | -6/+5 |
|\ | | | | | | | | | | | | | | | 1547: cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | cleanup imports | Aleksey Kladov | 2019-07-18 | 2 | -6/+5 |
| | | |||||
* | | prettier colors | Aleksey Kladov | 2019-07-18 | 3 | -18/+21 |
|/ | |||||
* | Merge #1537 | bors[bot] | 2019-07-18 | 1 | -26/+103 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 1537: Less magic completions r=matklad a=marcogroppo Restrict `if`, `not` and `while` postfix magic completions to boolean expressions and expressions of an unknown type. (this may be controversial, marking as draft for this reason) See the discussion in #1526. Co-authored-by: Marco Groppo <[email protected]> | ||||
| * | Restrict some postfix completions to bool and unknown expr. | Marco Groppo | 2019-07-17 | 1 | -26/+103 |
| | | | | | | | | | | Restrict `if` and `while` postfix completions to boolean expressions and expressions of an unknown type. | ||||
* | | highlight mutable variables differently | Ekaterina Babshukova | 2019-07-18 | 5 | -55/+104 |
| | | |||||
* | | use more correct phantom types for ptrs | Aleksey Kladov | 2019-07-18 | 2 | -2/+2 |
| | | |||||
* | | jemallocator 0.3 | Jeremy A. Kolb | 2019-07-17 | 2 | -5/+5 |
| | | |||||
* | | Add "Run" lens for binary runnables | Kirill Bulatov | 2019-07-16 | 1 | -1/+1 |
|/ | |||||
* | cargo update | kjeremy | 2019-07-15 | 2 | -2/+2 |
| | |||||
* | Switch to Chalk master, without fuel | Florian Diebold | 2019-07-15 | 2 | -4/+4 |
| | |||||
* | Remove blacklist, instead mark `Sized` as non-enumerable | Florian Diebold | 2019-07-15 | 1 | -17/+3 |
| | | | | | This seems to be enough to prevent hanging in rust-analyzer, Chalk and the rustc repo. | ||||
* | Cargo update, including updating Chalk | Florian Diebold | 2019-07-14 | 1 | -0/+2 |
| | |||||
* | Have InferenceContext contain an InferenceResult instead of duplicating all ↵ | Florian Diebold | 2019-07-14 | 1 | -36/+19 |
| | | | | fields | ||||
* | Some renamings for clarity | Florian Diebold | 2019-07-14 | 9 | -25/+28 |
| | |||||
* | Fixed request comments | Alexander Andreev | 2019-07-14 | 2 | -66/+72 |
| | |||||
* | Fixed comments | Alexander Andreev | 2019-07-13 | 1 | -2/+2 |
| | |||||
* | More resolution modules with attribute path | Alexander Andreev | 2019-07-13 | 2 | -4/+521 |
| | | | | #1211 | ||||
* | complete fields in enum variants | Ekaterina Babshukova | 2019-07-12 | 5 | -16/+116 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 31 | -99/+109 |
| | | | | this is in preparation for the new rowan API | ||||
* | Merge #1523 | bors[bot] | 2019-07-12 | 2 | -0/+11 |
|\ | | | | | | | | | | | | | | | 1523: account for dependencies when showing memory usage r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | account for dependencies when showing memory usage | Aleksey Kladov | 2019-07-12 | 2 | -0/+11 |
| | | |||||
* | | Merge #1520 | bors[bot] | 2019-07-11 | 3 | -10/+15 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 1520: Ignore workspace/didChangeConfiguration notifications. r=matklad a=bolinfest If the client happens to send a `workspace/didChangeConfiguration` notification, it is nicer if rust-analyzer can just ignore it rather than crash with an "unhandled notification" error. Co-authored-by: Michael Bolin <[email protected]> | ||||
| * | Remove executeCommandProvider: apply_code_action. | Michael Bolin | 2019-07-11 | 2 | -10/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This appears to have been introduced ages ago in https://github.com/rust-analyzer/rust-analyzer/commit/be742a587704f27f4e503c50f549aa9ec1527fcc but has since been removed. As it stands, it is problematic if multiple instances of the rust-analyzer LSP are launched during the same VS Code session because VS Code complains about multiple LSP servers trying to register the same command. Most LSP servers workaround this by parameterizing the command by the process id. For example, this is where `rls` does this: https://github.com/rust-lang/rls/blob/ff0b9057c8f62bc4f8113d741e96c9587ef1a817/rls/src/server/mod.rs#L413-L421 Though `apply_code_action` does not seems to be used, so it seems better to delete it than to parameterize it. | ||||
| * | Ignore workspace/didChangeConfiguration notifications. | Michael Bolin | 2019-07-11 | 2 | -4/+11 |
| | |