Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw the rest of the owl | Jonas Schievink | 2020-06-24 | 1 | -51/+122 |
| | |||||
* | Hook up query, add impls, lower moar | Jonas Schievink | 2020-06-24 | 1 | -4/+3 |
| | |||||
* | Start item tree | Aleksey Kladov | 2020-06-24 | 1 | -3/+4 |
| | |||||
* | Use only one code-path for parsing fixtures | Aleksey Kladov | 2020-06-23 | 1 | -44/+49 |
| | | | | | This removes leading newlines everywhere, shifting all ranges in tests by one | ||||
* | Handle bindings after @ in patterns | Jonas Schievink | 2020-06-21 | 1 | -10/+24 |
| | |||||
* | fmt | robojumper | 2020-05-31 | 1 | -10/+20 |
| | |||||
* | correctly infer labelled breaks | robojumper | 2020-05-31 | 2 | -13/+47 |
| | |||||
* | Support raw_ref_op's raw reference operator | robojumper | 2020-05-28 | 1 | -3/+16 |
| | |||||
* | Switch to new magic marks | Aleksey Kladov | 2020-05-20 | 2 | -4/+4 |
| | |||||
* | Create LowerCtx on the fly | Edwin Cheng | 2020-05-17 | 1 | -9/+10 |
| | |||||
* | Merge #4305 | bors[bot] | 2020-05-05 | 1 | -3/+10 |
|\ | | | | | | | | | | | | | | | 4305: Favor types for record type struct in name resolution r=matklad a=edwin0cheng Fixed #4235 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Change favor_types to has_constructor | Edwin Cheng | 2020-05-04 | 1 | -4/+4 |
| | | |||||
| * | Remove unused import | Edwin Cheng | 2020-05-04 | 1 | -2/+2 |
| | | |||||
| * | Favor types for Record in name resolution | Edwin Cheng | 2020-05-04 | 1 | -4/+11 |
| | | |||||
* | | refactor: use attrsOwner directly in is_cfg_enabled | Benjamin Coenen | 2020-05-05 | 1 | -4/+2 |
|/ | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Merge #4234 | bors[bot] | 2020-05-02 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 4234: Support local_inner_macros r=jonas-schievink a=edwin0cheng This PR implements `#[macro_export(local_inner_macros)]` support. Note that the rustc implementation is quite [hacky][1] too. :) [1]: https://github.com/rust-lang/rust/blob/614f273e9388ddd7804d5cbc80b8865068a3744e/src/librustc_resolve/macros.rs#L456 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Support local_inner_macros | Edwin Cheng | 2020-05-01 | 1 | -0/+1 |
| | | |||||
* | | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -11/+13 |
| | | |||||
* | | Revert "Merge #4233" | Aleksey Kladov | 2020-05-02 | 1 | -0/+4 |
| | | | | | | | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336. | ||||
* | | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -8/+34 |
|/ | |||||
* | Remove dead code, which elaborately pretends to be alive | Aleksey Kladov | 2020-04-30 | 1 | -4/+0 |
| | |||||
* | add support for cfg feature attributes on expression #4063 | Benjamin Coenen | 2020-04-25 | 1 | -0/+4 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Remove SyntaxPtr::range from more places | Aleksey Kladov | 2020-04-23 | 1 | -2/+5 |
| | |||||
* | Some clippy fixes | Jeremy Kolb | 2020-04-19 | 1 | -5/+3 |
| | |||||
* | Correctly infer types in guard expressions | Aleksey Kladov | 2020-04-18 | 1 | -0/+4 |
| | | | | | | | The root cause was that we forgot to add bindings from the arm to the guard expression closes #3980 | ||||
* | Merge #4012 | bors[bot] | 2020-04-17 | 1 | -3/+10 |
|\ | | | | | | | | | | | | | | | 4012: fix panic on ellipsis in pattern r=flodiebold a=JoshMcguigan fixes #3999 Co-authored-by: Josh Mcguigan <[email protected]> | ||||
| * | fix panic on ellipsis in pattern | Josh Mcguigan | 2020-04-17 | 1 | -3/+10 |
| | | |||||
* | | Don't expose impl details of SyntaxPtr | Aleksey Kladov | 2020-04-17 | 1 | -1/+2 |
|/ | |||||
* | handle tuple patterns with ellipsis | Josh Mcguigan | 2020-04-13 | 1 | -5/+22 |
| | |||||
* | Align grammar for record patterns and literals | Aleksey Kladov | 2020-04-11 | 1 | -1/+1 |
| | | | | | | The grammar now looks like this [name_ref :] pat | ||||
* | Merge #3925 | bors[bot] | 2020-04-11 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | | | | | | | 3925: Implement assist "Reorder field names" r=matklad a=geoffreycopin This PR implements the "Reorder record fields" assist as discussed in issue #3821 . Adding a `RecordFieldPat` variant to the `Pat` enum seemed like the easiest way to handle the `RecordPat` children as a single sequence of elements, maybe there is a better way ? Co-authored-by: Geoffrey Copin <[email protected]> | ||||
| * | Avoid adding a RecordFieldPat variant to the Pat enum | Geoffrey Copin | 2020-04-11 | 1 | -2/+0 |
| | | |||||
| * | Implement assist "Reorder field names" | Geoffrey Copin | 2020-04-09 | 1 | -1/+2 |
| | | |||||
* | | Remove dead code | Aleksey Kladov | 2020-04-11 | 1 | -2/+1 |
| | | |||||
* | | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -22/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | | Align naming | Aleksey Kladov | 2020-04-11 | 1 | -2/+1 |
| | | |||||
* | | Pull Expander up | Aleksey Kladov | 2020-04-11 | 1 | -5/+3 |
| | | |||||
* | | Simplify | Aleksey Kladov | 2020-04-11 | 1 | -8/+3 |
| | | |||||
* | | Forward compat | Aleksey Kladov | 2020-04-10 | 1 | -3/+3 |
| | | |||||
* | | add record pat missing field diagnostic | Josh Mcguigan | 2020-04-10 | 1 | -1/+3 |
|/ | |||||
* | Simpler acessors for keywords | Aleksey Kladov | 2020-04-09 | 1 | -6/+4 |
| | |||||
* | use uniform accessor | Aleksey Kladov | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Merge #3918 | bors[bot] | 2020-04-09 | 1 | -18/+33 |
|\ | | | | | | | | | | | | | | | | | 3918: Add support for feature attributes in struct literal r=matklad a=bnjjj As promised here is the next PR to solve 2 different scenarios with feature flag on struct literal. close #3870 Co-authored-by: Benjamin Coenen <[email protected]> | ||||
| * | feat: add support for feature attributes in struct literal | Benjamin Coenen | 2020-04-09 | 1 | -3/+6 |
| |\ | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | | feat: add support for feature attributes in struct literal | Benjamin Coenen | 2020-04-09 | 1 | -18/+33 |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | | Be consistent about token accesors | Aleksey Kladov | 2020-04-09 | 1 | -2/+5 |
| |/ |/| | |||||
* | | Scale back to only two traits | Aleksey Kladov | 2020-04-09 | 1 | -1/+0 |
| | | |||||
* | | Provide more complete AST accessors to support usage in rustc | Luca Barbieri | 2020-04-09 | 1 | -3/+7 |
|/ | |||||
* | Macro patterns are not confused with expressions. | Aleksey Kladov | 2020-04-03 | 1 | -2/+1 |
| | | | | | | | | | | | We treat macro calls as expressions (there's appropriate Into impl), which causes problem if there's expresison and non-expression macro in the same node (like in the match arm). We fix this problem by nesting macor patterns into another node (the same way we nest path into PathExpr or PathPat). Ideally, we probably should add a similar nesting for macro expressions, but that needs some careful thinking about macros in blocks: `{ am_i_expression!() }`. |