Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply more clippy suggestions and update generated | Clemens Wasser | 2021-06-03 | 2 | -5/+5 |
| | |||||
* | Account for generics in extract_struct_from_enum_variant | Lukas Wirth | 2021-06-02 | 1 | -3/+2 |
| | |||||
* | minor: remove debug print | Aleksey Kladov | 2021-05-31 | 1 | -1/+0 |
| | |||||
* | Merge #9062 | bors[bot] | 2021-05-30 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | 9062: internal: Bump deps r=lnicola a=lnicola Fixes #9061 bors r+ Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Bump deps | Laurențiu Nicola | 2021-05-30 | 1 | -1/+1 |
| | | |||||
* | | Attribute completion is context aware | Lukas Wirth | 2021-05-27 | 1 | -0/+7 |
| | | |||||
* | | generate match arms with todo!() as placeholder body | Domantas Jadenkus | 2021-05-24 | 1 | -6/+15 |
|/ | |||||
* | Bump rustc_lexer | Laurențiu Nicola | 2021-05-24 | 1 | -1/+1 |
| | |||||
* | Add more docs | Aleksey Kladov | 2021-05-22 | 6 | -6/+17 |
| | |||||
* | internal: replace AstTransformer with mutable syntax trees | Aleksey Kladov | 2021-05-22 | 4 | -54/+19 |
| | |||||
* | Don't compare ast::Visibility by stringifying | Lukas Tobias Wirth | 2021-05-20 | 1 | -0/+23 |
| | |||||
* | fix: don't add extra whitespace around fields | Aleksey Kladov | 2021-05-17 | 1 | -0/+4 |
| | | | | closes #8785 | ||||
* | internal: use mutable syntax trees when filling fields | Aleksey Kladov | 2021-05-16 | 2 | -98/+42 |
| | |||||
* | internal: use mutable trees when filling match arms | Aleksey Kladov | 2021-05-16 | 2 | -126/+69 |
| | |||||
* | Merge #8813 | bors[bot] | 2021-05-16 | 1 | -20/+61 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8813: Get some more array lengths! r=lf- a=lf- This is built on #8799 and thus contains its changes. I'll rebase it onto master when that one gets merged. It adds support for r-a understanding the length of: * `let a: [u8; 2] = ...` * `let a = b"aaa"` * `let a = [0u8; 4]` I have added support for getting the values of byte strings, which was not previously there. I am least confident in the correctness of this part and it probably needs some more tests, as we currently have only one test that exercised that part (!). Fixes #2922. Co-authored-by: Jade <[email protected]> | ||||
| * | Support length for ByteStrings | Jade | 2021-05-13 | 1 | -20/+61 |
| | | | | | | | | I am not confident that my added byte string parsing is right. | ||||
* | | Attach comments to ast::Impl | Lukas Wirth | 2021-05-15 | 2 | -5/+5 |
| | | |||||
* | | internal: use more mutable APIs | Aleksey Kladov | 2021-05-14 | 2 | -35/+17 |
| | | |||||
* | | internal: rewrite assoc item manipulaion to use mutable trees | Aleksey Kladov | 2021-05-14 | 3 | -153/+72 |
| | | |||||
* | | internal: remove SyntaxRewriter | Aleksey Kladov | 2021-05-14 | 2 | -153/+4 |
| | | |||||
* | | internal: remove more of the SyntaxRewriter | Aleksey Kladov | 2021-05-14 | 1 | -29/+31 |
| | | |||||
* | | internal: remove one more immutable tree | Aleksey Kladov | 2021-05-14 | 4 | -40/+13 |
| | | |||||
* | | Cleanup imports | Aleksey Kladov | 2021-05-13 | 1 | -4/+3 |
|/ | |||||
* | simplify | Aleksey Kladov | 2021-05-10 | 1 | -0/+3 |
| | |||||
* | internal: introduce `ast::make::ext` module with common shortcuts | Aleksey Kladov | 2021-05-09 | 1 | -43/+52 |
| | | | | | | | | | | There's a tension between keeping a well-architectured minimal orthogonal set of constructs, and providing convenience functions. Relieve this pressure by introducing an dedicated module for non-orthogonal shortcuts. This is inspired by the django.shortcuts module which serves a similar purpose architecturally. | ||||
* | internal: fix make API | Aleksey Kladov | 2021-05-09 | 1 | -8/+31 |
| | |||||
* | internal: rewrite **Repalce impl Trait** assist to mutable syntax trees | Aleksey Kladov | 2021-05-09 | 1 | -12/+7 |
| | |||||
* | cleanups | Aleksey Kladov | 2021-05-09 | 1 | -2/+2 |
| | |||||
* | minor: remove dead code | Aleksey Kladov | 2021-05-08 | 1 | -11/+1 |
| | |||||
* | internal: pull_assignment_up uses mutable trees | Aleksey Kladov | 2021-05-08 | 1 | -0/+3 |
| | |||||
* | dead code | Aleksey Kladov | 2021-05-08 | 1 | -121/+1 |
| | |||||
* | internal: remove one more syntax rewriter | Aleksey Kladov | 2021-05-08 | 1 | -1/+4 |
| | |||||
* | fix: use raw idents in `make::name{_ref}` with keywords | Jonas Schievink | 2021-05-07 | 1 | -2/+12 |
| | |||||
* | Hide implementation details of TokenText | Dawer | 2021-05-06 | 2 | -8/+20 |
| | |||||
* | Clean up | Dawer | 2021-05-06 | 1 | -15/+2 |
| | |||||
* | Borrow text from nodes of immutable syntax trees | Dawer | 2021-05-06 | 2 | -25/+49 |
| | |||||
* | Adapt to a new rowan borrowing node API. | Dawer | 2021-05-06 | 2 | -2/+2 |
| | |||||
* | Update to rowan 0.13.0-pre.5 | Dawer | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | Parse const param defaults | Jonas Schievink | 2021-04-29 | 2 | -0/+99 |
| | |||||
* | Correctly parse negated literals as const args | Jonas Schievink | 2021-04-29 | 2 | -0/+31 |
| | |||||
* | Split out merge_imports module from helpers::insert_use | Lukas Wirth | 2021-04-24 | 1 | -1/+21 |
| | |||||
*-. | Merge #8591 #8638 | bors[bot] | 2021-04-23 | 3 | -18/+19 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8591: Remove SyntaxRewriter usage in insert_use in favor of mutable syntax trees r=matklad a=Veykril Unfortunately changing `insert_use` to not use `SyntaxRewriter` creates a lot of changes since so much relies on that. But on the other hand this should be the biggest usage of `SyntaxRewriter` I believe. 8638: Remove SyntaxRewriter::from_fn r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
| | * | Remove SyntaxRewriter::from_fn | Lukas Wirth | 2021-04-23 | 1 | -16/+3 |
| |/ |/| | |||||
* | | Merge #8317 | bors[bot] | 2021-04-23 | 1 | -0/+26 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8317: Convert tuple struct to named struct assist r=Veykril a=unexge Closes https://github.com/rust-analyzer/rust-analyzer/issues/8192 Co-authored-by: unexge <[email protected]> | ||||
| * | | Add convert tuple struct to named struct assist | unexge | 2021-04-04 | 1 | -0/+26 |
| | | | |||||
* | | | Bump rustc_lexer | Laurențiu Nicola | 2021-04-21 | 1 | -1/+1 |
| | | | |||||
* | | | Add support for fill match arms of boolean values | Comonad | 2021-04-21 | 1 | -0/+8 |
| | | | | | | | | | | | | - Add support for boolean inside tuple | ||||
* | | | Parse outer atttributes for RecordPatField | Lukas Wirth | 2021-04-21 | 2 | -6/+53 |
| | | | |||||
| | * | Remove SyntaxRewriter usage in insert_use in favor of ted | Lukas Wirth | 2021-04-20 | 2 | -2/+16 |
| |/ |/| | |||||
* | | Merge #8578 | bors[bot] | 2021-04-19 | 5 | -180/+236 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 8578: fix: false positive about inner attrs in docs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> |