| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-02-21 | Validate `let` expressions | Chayim Refael Friedman | -0/+230 | |
| Emit an error if they're found in an invalid position. | ||||
| 2022-02-21 | Update tests | Chayim Refael Friedman | -6/+4 | |
| Unfortunately, we lost some recovery for expressions. | ||||
| 2021-12-28 | remove fragments from syntax | Aleksey Kladov | -55/+0 | |
| 2021-12-28 | drop dead code | Aleksey Kladov | -223/+0 | |
| 2021-12-28 | internal: start isolating ssr-related parsing APIs to SSR | Aleksey Kladov | -25/+0 | |
| 2021-12-26 | internal: move inline parser tests to parser crate | Aleksey Kladov | -11880/+0 | |
| 2021-12-26 | internal: move outlined parser tests | Aleksey Kladov | -14960/+0 | |
| 2021-12-18 | move tests | Aleksey Kladov | -687/+0 | |
| 2021-11-18 | fix: parse the range pat inside the tuple pat | zhoufan | -81/+162 | |
| 2021-11-16 | Remove validation of `super` in use paths | Laurențiu Nicola | -79/+0 | |
| 2021-11-10 | Handle pub tuple fields in tuple structs | Adam Bratschi-Kaye | -0/+31 | |
| The current implementation will throw a parser error for tuple structs that contain a pub tuple field. For example, ```rust struct Foo(pub (u32, u32)); ``` is valid Rust, but rust-analyzer will throw a parser error. This is because the parens after `pub` is treated as a visibility context. Allowing a tuple type to follow `pub` in the special case when we are defining fields in a tuple struct can fix the issue. | ||||
| 2021-10-19 | internal: Parse const trait bounds | Lukas Wirth | -9/+21 | |
| 2021-10-14 | a few clippy fixes | Milo | -2/+2 | |
| 2021-10-07 | Support `let...else` | Jonas Schievink | -0/+52 | |
| 2021-10-06 | parser: fix parsing of macro call inside generic args | cynecx | -0/+37 | |
| 2021-10-06 | Merge #10420 | bors[bot] | -9/+53 | |
| 10420: Parse outer attributes on StructPatternEtCetera r=jonas-schievink a=XFFXFF Try to fix https://github.com/rust-analyzer/rust-analyzer/issues/8610 Related pr in ungrammer: https://github.com/rust-analyzer/ungrammar/pull/41 Co-authored-by: zhoufan <1247714429@qq.com> | ||||
| 2021-10-04 | make Some(1..) parsed | zhoufan | -89/+170 | |
| 2021-10-02 | Parse outer attributes on StructPatternEtCetera | zhoufan | -9/+53 | |
| 2021-09-26 | internal: more reasonable grammar for blocks | Aleksey Kladov | -10937/+11321 | |
| 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-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 | minor: more condensed tests | Aleksey Kladov | -126/+122 | |
| 2021-09-25 | minor: more focusted tests | Aleksey Kladov | -134/+94 | |
| 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 | 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 | |
| 2021-09-13 | internal: fix bugs in tests by simplifying code | Aleksey Kladov | -4/+126 | |
| 2021-08-30 | internal: improve style | Aleksey Kladov | -22/+21 | |
| Group related stuff together, use only on path for parsing extern blocks (they actually have modifiers). Perhaps we should get rid of items_without_modifiers altogether? Better to handle these kinds on diagnostics in validation layer... | ||||
| 2021-08-30 | fix: avoid panic when parsing extern block | Aleksey Kladov | -0/+30 | |
| closes #10083 | ||||
| 2021-08-13 | Support `if let` match guards | Jonas Schievink | -10/+39 | |
| 2021-08-04 | Split the test | Jade | -0/+32 | |
| 2021-08-03 | Support exclusive_range_pattern | Jade | -18/+35 | |
| Fix #9779 | ||||
| 2021-07-30 | Simplify | Lukas Wirth | -2/+2 | |
| 2021-07-29 | Attach comma token to MATCH_ARM instead of MATCH_ARM_LIST | Lukas Wirth | -74/+74 | |
| 2021-07-26 | Fix generic_arg not parsing opt_generic_arg_list properly in arg lists | Lukas Wirth | -63/+78 | |
| 2021-07-18 | Merge #9619 | bors[bot] | -44/+84 | |
| 9619: Support GATs for associated type arg parsing r=Veykril a=Veykril Fixes #9602 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-18 | Support GATs for associated type arg parsing | Lukas Wirth | -44/+84 | |
| 2021-07-17 | feat: improve parser error recovery for function parameters | Aleksey Kladov | -15/+68 | |
| 2021-06-17 | Fix parser tests for 1.53 | Lukas Wirth | -198/+198 | |
