Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Add `impl Trait` and `dyn Trait` types | Florian Diebold | 2019-08-22 | 2 | -1/+27 | |
| |/ | | | | | | | | | | | | | - refactor bounds handling in the AST a bit - add HIR for bounds - add `Ty::Dyn` and `Ty::Opaque` variants and lower `dyn Trait` / `impl Trait` syntax to them | |||||
* / | Add test for nested box pattern | Dylan MacKenzie | 2019-08-22 | 2 | -12/+49 | |
|/ | ||||||
* | Don't add `?` bounds as real bounds | Aleksey Kladov | 2019-08-22 | 1 | -0/+12 | |
| | | | | closes #1709 | |||||
* | :arrow_up: rustc_lexer | Aleksey Kladov | 2019-08-20 | 3 | -117/+75 | |
| | ||||||
* | remove ast::*Kind enums | Aleksey Kladov | 2019-08-19 | 2 | -353/+347 | |
| | | | | With the new owned trees, we don't need an indirection here | |||||
* | use new quote-generated ast | Aleksey Kladov | 2019-08-18 | 2 | -1289/+1408 | |
| | ||||||
* | use quote! macro to generate grammar | Aleksey Kladov | 2019-08-18 | 1 | -27/+27 | |
| | | | | | We already use syn"e elsewhere (transitively), so it make sense to cut down on the number of technologies and get rid of tera | |||||
* | deserialize grammar | Aleksey Kladov | 2019-08-18 | 1 | -53/+53 | |
| | ||||||
* | Introduce separate hir::BinaryOp | Aleksey Kladov | 2019-08-17 | 1 | -6/+0 | |
| | | | | | Unlike ast::BinOp, it has significantly more structure to it, so it's easier to, say, handle all assignment-like operations in the same way. | |||||
* | implement accessors for IndexExpr | Aleksey Kladov | 2019-08-17 | 1 | -0/+9 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-08-17 | 1 | -35/+36 | |
| | ||||||
* | Merge #1685 | bors[bot] | 2019-08-15 | 4 | -0/+129 | |
|\ | | | | | | | | | | | | | | | 1685: fix error of RangeFrom in for-loop r=DJMcNab a=bravomikekilo fix [issue-1542](https://github.com/rust-analyzer/rust-analyzer/issues/1542) @matklad Co-authored-by: bravomikekilo <[email protected]> | |||||
| * | fix test position | bravomikekilo | 2019-08-14 | 5 | -108/+124 | |
| | | ||||||
| * | fix test | bravomikekilo | 2019-08-14 | 1 | -2/+2 | |
| | | ||||||
| * | fix error of RangeFrom in for-loop | bravomikekilo | 2019-08-14 | 2 | -0/+113 | |
| | | ||||||
* | | Merge #1676 | bors[bot] | 2019-08-14 | 2 | -1/+83 | |
|\ \ | |/ |/| | | | | | | | | | | | 1676: Fix for<'lifetime> for types specified by path r=matklad a=eupn Fixes #1467. Co-authored-by: Evgenii P <[email protected]> | |||||
| * | Fix for<'lifetime> for types specified by path | Evgenii P | 2019-08-11 | 2 | -1/+83 | |
| | | ||||||
* | | Merge #1636 | bors[bot] | 2019-08-13 | 2 | -0/+69 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1636: fix block parse problem r=matklad a=bravomikekilo try to fix [issue-1598](https://github.com/rust-analyzer/rust-analyzer/issues/1598). Co-authored-by: bravomikekilo <[email protected]> | |||||
| * | | add inline test | bravomikekilo | 2019-08-13 | 2 | -0/+69 | |
| | | | ||||||
* | | | Lower fully qualified associated type paths | Florian Diebold | 2019-08-12 | 1 | -0/+10 | |
| |/ |/| | | | | | I.e. `<T as Trait>::Foo`. | |||||
* | | Move numeric names inside of `NameRef` | Aleksey Kladov | 2019-08-09 | 5 | -25/+32 | |
| | | ||||||
* | | Parse tuple struct field initialization | Evgenii P | 2019-08-09 | 2 | -6/+28 | |
| | | ||||||
* | | Change macro to function | Evgenii P | 2019-08-09 | 1 | -15/+13 | |
| | | ||||||
* | | rustfmt | Evgenii P | 2019-08-09 | 1 | -10/+10 | |
| | | ||||||
* | | Reduce code duplication in lexer by introducing small macro | Evgenii P | 2019-08-09 | 1 | -20/+17 | |
| | | ||||||
* | | Merge #1661 | bors[bot] | 2019-08-08 | 8 | -0/+559 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1661: Parse function parameters attributes r=matklad a=eupn Fixes #1397. The [RFC-2565](https://github.com/rust-lang/rfcs/blob/master/text/2565-formal-function-parameter-attributes.md) specifies `#[attributes]` to function parameters: ```rust fn foo(#[attr] a, #[unused] b, #[must_use] ...) { // ... } ``` This PR adds those attributes into grammar and to the parser, extending corresponding inline tests. Co-authored-by: Evgenii P <[email protected]> | |||||
| * | | Fix parser tests according to review | Evgenii P | 2019-08-08 | 18 | -485/+576 | |
| | | | ||||||
| * | | Fix variadic arg inline test | Evgenii P | 2019-08-07 | 2 | -24/+24 | |
| | | | ||||||
| * | | Add function parameters attributes | Evgenii P | 2019-08-07 | 14 | -21/+489 | |
| | | | ||||||
* | | | assoc types bounds | Aleksey Kladov | 2019-08-07 | 2 | -0/+56 | |
|/ / | ||||||
* | | Merge #1640 | bors[bot] | 2019-08-04 | 1 | -1/+0 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1640: Bump deps r=matklad a=lnicola `insta`, `unicode-xid` and others Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | Bump deps | Laurențiu Nicola | 2019-08-04 | 1 | -1/+0 | |
| |/ | ||||||
* | | Unconditionally trim the end of comments | kjeremy | 2019-07-31 | 2 | -13/+5 | |
| | | ||||||
* | | Removes `*/` in block doc comments | kjeremy | 2019-07-31 | 2 | -2/+62 | |
|/ | ||||||
* | Add explicit newline preserving tests | kjeremy | 2019-07-31 | 1 | -0/+17 | |
| | ||||||
* | Add merge_match_arm assist, bump rowan to 0.6.1 | Phil Ellison | 2019-07-29 | 1 | -1/+1 | |
| | ||||||
* | Merge #1604 | bors[bot] | 2019-07-29 | 1 | -3/+19 | |
|\ | | | | | | | | | | | | | | | 1604: Fix failing type interference for floating point literal r=matklad a=theotherphil Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1592 Co-authored-by: Phil Ellison <[email protected]> | |||||
| * | cargo format | Phil Ellison | 2019-07-28 | 1 | -3/+1 | |
| | | ||||||
| * | Add special case for f32 and f43 suffices on Literal.kind | Phil Ellison | 2019-07-28 | 2 | -17/+21 | |
| | | ||||||
| * | Add issue link and trailing newline | Phil Ellison | 2019-07-28 | 1 | -1/+2 | |
| | | ||||||
| * | More direct failing test | Phil Ellison | 2019-07-28 | 1 | -0/+13 | |
| | | ||||||
* | | move syntax tests to unit tests | Aleksey Kladov | 2019-07-24 | 510 | -10/+9 | |
| | | ||||||
* | | Merge #1584 | bors[bot] | 2019-07-24 | 3 | -526/+88 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1584: switch to upstream unescape r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | switch to upstream unescape | Aleksey Kladov | 2019-07-24 | 3 | -526/+88 | |
| | | | ||||||
* | | | Merge #1583 | bors[bot] | 2019-07-24 | 1 | -1/+1 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | 1583: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | :arrow_up: rowan | Aleksey Kladov | 2019-07-24 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge #1573 | bors[bot] | 2019-07-24 | 2 | -6/+66 | |
|\ \ | |/ |/| | | | | | | | | | | | 1573: fix: parse box syntax inside parentheses r=matklad a=csmoe r? @matklad Co-authored-by: csmoe <[email protected]> | |||||
| * | fix: parse box syntax inside parentheses | csmoe | 2019-07-22 | 2 | -6/+66 | |
| | | ||||||
* | | kill old lexer | Aleksey Kladov | 2019-07-22 | 6 | -571/+17 | |
| | | ||||||
* | | add rustc_lexer | Aleksey Kladov | 2019-07-22 | 7 | -25/+149 | |
|/ |