Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | move whitespace manipulation inside AstEditor | Ekaterina Babshukova | 2019-07-10 | 2 | -19/+17 |
| | | |||||
* | | Make clippy a bit happier | Pascal Hertleif | 2019-07-10 | 1 | -0/+4 |
| | | | | | | | | | | Random drive-by fix. I honestly blame rust-analyzer itself on this, because I set its watch mode to use `cargo clippy` :shrug: | ||||
* | | Resolve a FIXME | Pascal Hertleif | 2019-07-10 | 1 | -3/+1 |
|/ | | | | Now that we are using a newer smol_str release this can be simplified :) | ||||
* | fix profile name | Aleksey Kladov | 2019-07-09 | 1 | -1/+1 |
| | |||||
* | Merge #1515 | bors[bot] | 2019-07-09 | 11 | -119/+286 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 1515: Trait environment r=matklad a=flodiebold This adds the environment, i.e. the set of `where` clauses in scope, when solving trait goals. That means that e.g. in ```rust fn foo<T: SomeTrait>(t: T) {} ``` , we are able to complete methods of `SomeTrait` on the `t`. This affects the trait APIs quite a bit (since every method that needs to be able to solve for some trait needs to get this environment somehow), so I thought I'd do it rather sooner than later ;) Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Unify `normalize` and `implements` to simplify code | Florian Diebold | 2019-07-08 | 9 | -107/+67 |
| | | |||||
| * | Use environment for associated type normalization as well | Florian Diebold | 2019-07-08 | 7 | -20/+52 |
| | | |||||
| * | Start handling environment in trait resolution | Florian Diebold | 2019-07-08 | 6 | -14/+103 |
| | | | | | | | | | | I.e. if we are inside a function with some where clauses, we assume these where clauses hold. | ||||
| * | Refactor a bit & introduce Environment struct | Florian Diebold | 2019-07-08 | 7 | -21/+107 |
| | | |||||
* | | Merge #1512 | bors[bot] | 2019-07-09 | 3 | -17/+106 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1512: Infer ? operator r=unrealhoang a=unrealhoang Logical continuation of https://github.com/rust-analyzer/rust-analyzer/pull/1501 cc https://github.com/rust-analyzer/rust-analyzer/issues/1426 Co-authored-by: Unreal Hoang <[email protected]> | ||||
| * | | beautify tests | Unreal Hoang | 2019-07-09 | 1 | -20/+36 |
| | | | |||||
| * | | use namespaced consts for KnownName | Unreal Hoang | 2019-07-08 | 1 | -12/+10 |
| | | | |||||
| * | | projection over std::ops::Try::Ok to infer try/? | Unreal Hoang | 2019-07-08 | 3 | -2/+77 |
| | | | |||||
* | | | Look for the fXX_runtime lang items during method resolution. | Marco Groppo | 2019-07-08 | 1 | -4/+6 |
| |/ |/| | |||||
* | | Remove unused dependencies | Shotaro Yamada | 2019-07-08 | 8 | -19/+0 |
|/ | |||||
* | don't send LocationLink unless the client opts-in | Aleksey Kladov | 2019-07-08 | 5 | -12/+62 |
| | | | | closes #1474 | ||||
* | simplify | Aleksey Kladov | 2019-07-08 | 2 | -23/+20 |
| | |||||
* | add try_conv_with_to_vec | Aleksey Kladov | 2019-07-08 | 2 | -40/+54 |
| | |||||
* | Merge #1504 | bors[bot] | 2019-07-08 | 4 | -38/+30 |
|\ | | | | | | | | | | | | | | | 1504: Simplify LSP handlers r=matklad a=kjeremy Takes advantage of protocol inheritance via composition and simplifies some responses via the `From`/`Into` traits. Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | Simplify responses by using into() | Jeremy Kolb | 2019-07-07 | 3 | -13/+14 |
| | | |||||
| * | use flatten branch of lsp-types | Jeremy Kolb | 2019-07-07 | 4 | -27/+18 |
| | | |||||
* | | cargo format | Muhammad Mominul Huque | 2019-07-07 | 6 | -14/+14 |
| | | |||||
* | | Constify KnownName's | Muhammad Mominul Huque | 2019-07-07 | 10 | -155/+73 |
|/ | |||||
* | Merge #1501 | bors[bot] | 2019-07-07 | 5 | -35/+170 |
|\ | | | | | | | | | | | | | | | 1501: Infer for loop variable r=flodiebold a=unrealhoang My take on https://github.com/rust-analyzer/rust-analyzer/issues/1425 Co-authored-by: Unreal Hoang <[email protected]> | ||||
| * | add projection to infer for loop variable | Unreal Hoang | 2019-07-07 | 5 | -35/+170 |
| | | |||||
* | | Merge #1499 | bors[bot] | 2019-07-07 | 7 | -109/+241 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1499: processing attribute #[path] of module r=matklad a=andreevlex support two cases - simple name file `foo.rs` - declaration in mod.rs #1211 Co-authored-by: Alexander Andreev <[email protected]> | ||||
| * | | Moved module resolution test in mods.rs | Alexander Andreev | 2019-07-07 | 4 | -193/+195 |
| | | | |||||
| * | | Added support attribute path in resolusion module fn | Alexander Andreev | 2019-07-06 | 2 | -5/+119 |
| | | | |||||
| * | | Added extract path attribute for current module | Alexander Andreev | 2019-07-06 | 4 | -7/+23 |
| | | | | | | | | | | | | #1211 | ||||
* | | | inline snapshot in complete_postfix | funkill2 | 2019-07-07 | 2 | -75/+71 |
| |/ |/| | |||||
* | | Make EnumVariant a GenericDef and simplify some code | Florian Diebold | 2019-07-06 | 4 | -14/+21 |
| | |