| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-10-05 | Replace `if let Some(_) = foo` with `if foo.is_some()` | Aramis Razzaghipour | -1/+1 | |
| 2021-10-04 | make Some(1..) parsed | zhoufan | -89/+170 | |
| 2021-10-03 | Fix miscellaneous Clippy lints | Aramis Razzaghipour | -20/+18 | |
| 2021-10-03 | Add semicolons for consistency | Aramis Razzaghipour | -45/+45 | |
| `clippy::semicolon_if_nothing_returned` | ||||
| 2021-10-03 | Merge #10438 | bors[bot] | -2/+40 | |
| 10438: minor: Simplify r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-10-03 | minor: Simplify | Lukas Wirth | -2/+40 | |
| 2021-10-03 | fix: await insertion with try_expr during extract_function | vi_mi | -0/+3 | |
| 2021-10-03 | move outer_attrs call before the match | zhoufan | -1/+1 | |
| 2021-10-02 | minor: dead code | Aleksey Kladov | -8/+1 | |
| 2021-10-02 | internal: remove deprecated method | Aleksey Kladov | -3/+0 | |
| 2021-10-02 | minor: regen | Aleksey Kladov | -0/+149 | |
| 2021-10-02 | minor: generated code readability | Aleksey Kladov | -1/+2 | |
| 2021-10-02 | Parse outer attributes on StructPatternEtCetera | zhoufan | -10/+56 | |
| 2021-09-28 | Fix inline_call breaking RecordExprField shorthands | Lukas Wirth | -0/+29 | |
| 2021-09-27 | Rename `*Owner` traits to `Has*` | Lukas Wirth | -240/+240 | |
| 2021-09-27 | Rename `Dyn*` nodes to `Any*` nodes | Lukas Wirth | -61/+61 | |
| 2021-09-26 | internal: more reasonable grammar for blocks | Aleksey Kladov | -11028/+11401 | |
| Consider these expples { 92 } async { 92 } 'a: { 92 } #[a] { 92 } Previously the tree for them were BLOCK_EXPR { ... } EFFECT_EXPR async BLOCK_EXPR { ... } EFFECT_EXPR 'a: BLOCK_EXPR { ... } BLOCK_EXPR #[a] { ... } As you see, it gets progressively worse :) The last two items are especially odd. The last one even violates the balanced curleys invariant we have (#10357) The new approach is to say that the stuff in `{}` is stmt_list, and the block is stmt_list + optional modifiers BLOCK_EXPR STMT_LIST { ... } BLOCK_EXPR async STMT_LIST { ... } BLOCK_EXPR 'a: STMT_LIST { ... } BLOCK_EXPR #[a] STMT_LIST { ... } | ||||
| 2021-09-26 | Merge #10358 | bors[bot] | -220/+15 | |
| 10358: internal: Remove inherent methods from ast nodes that do non-syntactic complex tasks r=Veykril a=Veykril Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-09-26 | Remove inherent methods from ast node that carry semantic meaning | Lukas Wirth | -220/+15 | |
| 2021-09-26 | internal: fix and force-disable block validation ;-( | Aleksey Kladov | -8/+5 | |
| Originally we tried to maintain the invariant that `{}` always match. That is, that in the parse tree the pair of corresponding `{}` is always first and last tokens of some nodes. We had the code to validate that, but apparently it's been broken for **years** since we introduced tokens/nodes split. Fixing it now makes some tests fail. It's unclear if we want to keep this invariant: there's a strong motivation for breaking it in the following case: ``` use std::{ // unclosed paren fn main() { } } // don't actually want to pair up this with the one from `use` ``` So let's fix the code, but disable it for the time being | ||||
| 2021-09-25 | feat: allow attributes on all expressions | Aleksey Kladov | -239/+222 | |
| Attrs are syntactically valid on any expression, even if they are not allowed semantically everywhere yet. | ||||
| 2021-09-25 | Merge #10346 | bors[bot] | -33/+35 | |
| 10346: minor: align code with code-style r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com> | ||||
| 2021-09-25 | minor: align code with code-style | Aleksey Kladov | -33/+35 | |
| 2021-09-25 | minore: improve consistency | Aleksey Kladov | -8/+8 | |
| 2021-09-25 | minor: more condensed tests | Aleksey Kladov | -126/+122 | |
| 2021-09-25 | minor: more focusted tests | Aleksey Kladov | -134/+94 | |
| 2021-09-23 | Cleanup | Lukas Wirth | -0/+10 | |
| 2021-09-21 | Simplify | Lukas Wirth | -110/+9 | |
| 2021-09-21 | Simplify | Lukas Wirth | -170/+111 | |
| 2021-09-21 | Generate ast nodes for each ast trait | Lukas Wirth | -32/+461 | |
| 2021-09-19 | Merge #10289 | bors[bot] | -3/+4 | |
| 10289: fix: Only strip derive attributes when preparing macro input r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10246 cc https://github.com/rust-analyzer/rowan/pull/114, follow up to https://github.com/rust-analyzer/rust-analyzer/pull/10025 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-09-19 | Only strip derive attributes when preparing macro input | Lukas Wirth | -3/+4 | |
| 2021-09-19 | Simplify | Lukas Wirth | -7/+4 | |
| 2021-09-19 | Simplify | Lukas Wirth | -2/+2 | |
| 2021-09-19 | internal: more focused tests for const arguments | Aleksey Kladov | -166/+299 | |
| 2021-09-19 | fix: don't allow two turbo-fishes in generic arguments | Aleksey Kladov | -32/+38 | |
| 2021-09-19 | internal: add erroneous test for double turbo fish | Aleksey Kladov | -0/+122 | |
| We parse `f` successfully, but that is a bug. | ||||
| 2021-09-18 | minor: improve readability | Aleksey Kladov | -0/+0 | |
| 2021-09-18 | internal: parser cleanup | Aleksey Kladov | -71/+131 | |
| 2021-09-18 | internal: minimize use_tree parser tests | Aleksey Kladov | -504/+276 | |
| The code here is intentionally dense and does exactly what is written. Explaining semantic difference between Rust 2015 and 2018 doesn't help with understanding syntax. Better to just add more targeted tests. | ||||
| 2021-09-18 | internal: parser cleanups | Aleksey Kladov | -65/+46 | |
| 2021-09-18 | internal: more focused trait item parsing tests | Aleksey Kladov | -221/+224 | |
| 2021-09-18 | intenral: more local tests for statics | Aleksey Kladov | -40/+42 | |
| 2021-09-18 | internal: cleanup adt parsing | Aleksey Kladov | -130/+51 | |
| 2021-09-18 | internal: cleanup item parsing | Aleksey Kladov | -35/+0 | |
| 2021-09-17 | Merge #10265 | bors[bot] | -359/+424 | |
| 10265: internal: parser cleanups r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com> | ||||
| 2021-09-17 | internal: more local parsing tests for macros | Aleksey Kladov | -141/+141 | |
| 2021-09-17 | internal: more focused parsing tests | Aleksey Kladov | -123/+160 | |
| 2021-09-17 | internal: more local test for mod item | Aleksey Kladov | -95/+95 | |
| 2021-09-17 | internal: more local parsing tests | Aleksey Kladov | -0/+28 | |
