Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | Move the helpers into ide_db | Kirill Bulatov | 2020-11-28 | 26 | -53/+28 | |
| | | | | | | ||||||
| * | | | | | Rustdocs fixes | Kirill Bulatov | 2020-11-27 | 2 | -2/+4 | |
| | | | | | | ||||||
| * | | | | | Group import data in a struct | Kirill Bulatov | 2020-11-27 | 5 | -52/+49 | |
| | | | | | | ||||||
| * | | | | | Extract the import code into the shared module | Kirill Bulatov | 2020-11-27 | 29 | -253/+281 | |
| | | | | | | ||||||
* | | | | | | Coalesce flycheck events | Jonas Schievink | 2020-11-27 | 1 | -45/+59 | |
| | | | | | | ||||||
* | | | | | | Downgrade "failed to load" error to warning | Jonas Schievink | 2020-11-27 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Add/Fix macro expansion profiling | Jonas Schievink | 2020-11-27 | 1 | -2/+4 | |
|/ / / / / | ||||||
* | | | | | Fix the profiling string | Kirill Bulatov | 2020-11-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
* | | | | | Profile completions better | Kirill Bulatov | 2020-11-27 | 8 | -0/+21 | |
|/ / / / | ||||||
* | | | | Merge #6648 | bors[bot] | 2020-11-27 | 1 | -9/+18 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6648: Avoid allocation in ast::String::value if the string needs no unescaping r=lnicola a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | Avoid allocation in ast::String::value if the string needs no unescaping | Lukas Wirth | 2020-11-27 | 1 | -9/+18 | |
| | |_|/ | |/| | | ||||||
* | | | | Merge #6586 | bors[bot] | 2020-11-27 | 1 | -8/+16 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6586: Don't call a closure a function in the infer_function_return_type assist label r=lnicola a=Veykril `Add this function's return type` becomes `Add this closure's return type` for closures. This makes it more obvious that we are indeed planning on modifying the closure and not its containing function. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | Don't call a closure function in infer_function_return_type label | Lukas Wirth | 2020-11-17 | 1 | -8/+16 | |
| | | | | | ||||||
* | | | | | Don't use raw identifiers | Lukas Wirth | 2020-11-26 | 1 | -2/+2 | |
| |/ / / |/| | | | ||||||
* | | | | Merge #6635 | bors[bot] | 2020-11-26 | 2 | -14/+46 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6635: Complete struct in irrefutable let r=Veykril a=Veykril Fixes #6210 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | Complete struct in irrefutable let | Lukas Wirth | 2020-11-26 | 2 | -14/+46 | |
| | | | | | ||||||
* | | | | | Simplify error formatting | Laurențiu Nicola | 2020-11-26 | 2 | -8/+5 | |
| | | | | | ||||||
* | | | | | Remove unused import | Laurențiu Nicola | 2020-11-26 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Don't store `SyntaxNodePtr` in `CrateDefMap` | Jonas Schievink | 2020-11-26 | 2 | -8/+7 | |
| | | | | | | | | | | | | | | | | | | | | It is volatile across reparses and makes incrementality worse. | |||||
* | | | | | Test def map invalidation with #[cfg] below change | Jonas Schievink | 2020-11-26 | 1 | -0/+6 | |
| | | | | | ||||||
* | | | | | Implement `Display` for macro expansion errors | Jonas Schievink | 2020-11-26 | 2 | -0/+27 | |
| | | | | | ||||||
* | | | | | Use `ExpandResult` instead of `MacroResult` | Jonas Schievink | 2020-11-26 | 5 | -56/+42 | |
| | | | | | | | | | | | | | | | | | | | | `MacroResult` is redundant | |||||
* | | | | | Use named fields in `ExpandResult` | Jonas Schievink | 2020-11-26 | 5 | -29/+39 | |
| | | | | | ||||||
* | | | | | Publish diagnostics on file open | Jonas Schievink | 2020-11-26 | 1 | -8/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Diagnostics are sometimes only showing up when typing. This should fix that. | |||||
| | | | | | ||||||
| \ \ \ \ | ||||||
*-. \ \ \ \ | Merge #6614 #6632 | bors[bot] | 2020-11-26 | 7 | -35/+117 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6614: Improve autoimports on completion speed r=matklad a=SomeoneToIgnore Presumably closes https://github.com/rust-analyzer/rust-analyzer/issues/6594 May help https://github.com/rust-analyzer/rust-analyzer/issues/6612 * Ignore modules eaferly * Do less completion string rendering 6632: Pin cargo_metadata r=matklad a=kjeremy See: https://github.com/oli-obk/cargo_metadata/pull/142#issuecomment-733653275 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: kjeremy <[email protected]> | |||||
| | * | | | | | Pin cargo_metadata | kjeremy | 2020-11-25 | 3 | -3/+3 | |
| |/ / / / / |/| | | | | | ||||||
| * | | | | | Improve autoimports on completion speed | Kirill Bulatov | 2020-11-24 | 4 | -32/+114 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ignore modules eaferly * Do less completion string rendering | |||||
* | | | | | | Document experimental completions | Kirill Bulatov | 2020-11-24 | 1 | -0/+7 | |
| | | | | | | ||||||
* | | | | | | Gate autoimports begind experimental completions flag | Kirill Bulatov | 2020-11-24 | 3 | -1/+8 | |
| | | | | | | ||||||
* | | | | | | Rename `parse_macro` to `parse_macro_expansion` | Jonas Schievink | 2020-11-24 | 6 | -9/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This does not parse macros, it expands a macro and parses the *result* | |||||
* | | | | | | hir_expand::db: reduce fn visibility | Jonas Schievink | 2020-11-24 | 1 | -15/+9 | |
| | | | | | | ||||||
* | | | | | | Remove fixed FIXME, propagate errors better | Jonas Schievink | 2020-11-24 | 1 | -6/+2 | |
| |/ / / / |/| | | | | ||||||
* | | | | | hir_expand: propagate expansion errors | Jonas Schievink | 2020-11-24 | 4 | -46/+91 | |
| | | | | | ||||||
* | | | | | Check structs for match exhaustiveness | Lukas Wirth | 2020-11-24 | 1 | -31/+120 | |
| | | | | | ||||||
* | | | | | Add middle ellipsis missing arm text | Lukas Wirth | 2020-11-24 | 1 | -0/+14 | |
| | | | | | ||||||
* | | | | | Handle ellipsis in tuple patterns in match exhaustiveness checking | Lukas Wirth | 2020-11-24 | 1 | -42/+41 | |
| | | | | | ||||||
* | | | | | Merge #6618 | bors[bot] | 2020-11-24 | 2 | -12/+129 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6618: Properly infer tuple patterns when encountering ellipsis r=Veykril a=Veykril We basically just split the subpatterns into two halves when the ellipsis is present and then offset the latter half to account for the ignored bindings. Fixes #6616 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | | Properly infer tuple struct patterns when encountering ellipsis | Lukas Wirth | 2020-11-24 | 2 | -9/+70 | |
| | | | | | | ||||||
| * | | | | | Properly infer tuple patterns when encountering ellipsis | Lukas Wirth | 2020-11-24 | 2 | -8/+64 | |
| | | | | | | ||||||
* | | | | | | New lsp-types to fix versioning | kjeremy | 2020-11-24 | 2 | -6/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #6603 | |||||
* | | | | | | Avoid string allocations in ignore_test | Laurențiu Nicola | 2020-11-24 | 1 | -1/+1 | |
|/ / / / / | ||||||
* | | | | | Merge #6610 | bors[bot] | 2020-11-24 | 1 | -7/+76 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6610: add 'Re-enable this test' assist r=SomeoneToIgnore a=jakobhellermann The `Ignore this test` assist previously allowed ignoring multiple times, each time adding a `#[ignore]` attribute. This PR instead shows an assist to undo the ignoring. Co-authored-by: Jakob Hellermann <[email protected]> | |||||
| * | | | | | add 'Re-enable this test' assist | Jakob Hellermann | 2020-11-23 | 1 | -7/+76 | |
| |/ / / / | ||||||
* | | | | | Merge #6613 | bors[bot] | 2020-11-24 | 1 | -1/+7 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6613: Don't assume DidChangeTextDocument paths exist r=SomeoneToIgnore a=mjibson Fixes #5933 Co-authored-by: Matt Jibson <[email protected]> | |||||
| * | | | | Don't assume DidChangeTextDocument paths exist | Matt Jibson | 2020-11-23 | 1 | -1/+7 | |
| | |/ / | |/| | | | | | | | | | | Fixes #5933 | |||||
* | | | | Minor, import style | Aleksey Kladov | 2020-11-23 | 1 | -6/+5 | |
| | | | | ||||||
* | | | | Parse unsafe extern block | David Tolnay | 2020-11-23 | 3 | -3/+25 | |
|/ / / | ||||||
* | / | Don't wrap parens around expr in remove_dbg assist if its in conditions | Lukas Wirth | 2020-11-20 | 1 | -7/+64 | |
| |/ |/| | ||||||
* | | Fill code_description for rust_analyzer diagnostics | Lukas Wirth | 2020-11-18 | 1 | -1/+8 | |
| | | ||||||
* | | update diagnostics test_data with code_description changes | Lukas Wirth | 2020-11-18 | 6 | -6/+108 | |
| | |