Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | simiplify | Aleksey Kladov | 2019-07-21 | 2 | -11/+10 |
| | |||||
* | streamline API | Aleksey Kladov | 2019-07-21 | 3 | -17/+7 |
| | |||||
* | minor, move type | Aleksey Kladov | 2019-07-21 | 3 | -12/+13 |
| | |||||
* | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 8 | -680/+147 |
| | |||||
* | Merge #1566 | bors[bot] | 2019-07-20 | 1 | -13/+3 |
|\ | | | | | | | | | | | | | | | 1566: align SyntaxText API with upstream r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | align SyntaxText API with upstream | Aleksey Kladov | 2019-07-20 | 1 | -13/+3 |
| | | |||||
* | | Merge #1562 | bors[bot] | 2019-07-20 | 2 | -1/+34 |
|\ \ | |/ |/| | | | | | | | | | | | | | 1562: Continue support for .await r=matklad a=unrealhoang - add await expr to ast and HIR Expr - infer type for `.await` Co-authored-by: Unreal Hoang <[email protected]> | ||||
| * | add await expr to ast | Unreal Hoang | 2019-07-20 | 2 | -1/+34 |
| | | |||||
* | | Merge #1560 | bors[bot] | 2019-07-20 | 10 | -68/+63 |
|\ \ | |/ |/| | | | | | | | | | | | 1560: move debug_dump to fmt::Debug r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 10 | -29/+32 |
| | | |||||
| * | move debug_dump to fmt::Debug | Aleksey Kladov | 2019-07-20 | 5 | -40/+32 |
| | | |||||
* | | add await to syntax, parser for await_expr | Unreal Hoang | 2019-07-20 | 3 | -0/+74 |
|/ | |||||
* | remove lifetime from syntax node text | Aleksey Kladov | 2019-07-19 | 3 | -14/+15 |
| | |||||
* | sane indexing in text | Aleksey Kladov | 2019-07-19 | 1 | -7/+10 |
| | |||||
* | flip syntax text to use internal iteration | Aleksey Kladov | 2019-07-19 | 2 | -34/+65 |
| | |||||
* | drop memory size of subtree | Aleksey Kladov | 2019-07-19 | 1 | -4/+0 |
| | | | | | it wasn't too accurate and the new measurement method of dropping the database completely is better anyway | ||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 4 | -41/+55 |
| | |||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 4 | -841/+964 |
| | |||||
* | several highlighting cleanups | Aleksey Kladov | 2019-07-19 | 1 | -0/+11 |
| | | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function |