aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
Commit message (Collapse)AuthorAgeFilesLines
...
* implement accessors for IndexExprAleksey Kladov2019-08-171-0/+9
|
* simplifyAleksey Kladov2019-08-171-35/+36
|
* Merge #1685bors[bot]2019-08-154-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 positionbravomikekilo2019-08-145-108/+124
| |
| * fix testbravomikekilo2019-08-141-2/+2
| |
| * fix error of RangeFrom in for-loopbravomikekilo2019-08-142-0/+113
| |
* | Merge #1676bors[bot]2019-08-142-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 pathEvgenii P2019-08-112-1/+83
| |
* | Merge #1636bors[bot]2019-08-132-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 testbravomikekilo2019-08-132-0/+69
| | |
* | | Lower fully qualified associated type pathsFlorian Diebold2019-08-121-0/+10
| |/ |/| | | | | I.e. `<T as Trait>::Foo`.
* | Move numeric names inside of `NameRef`Aleksey Kladov2019-08-095-25/+32
| |
* | Parse tuple struct field initializationEvgenii P2019-08-092-6/+28
| |
* | Change macro to functionEvgenii P2019-08-091-15/+13
| |
* | rustfmtEvgenii P2019-08-091-10/+10
| |
* | Reduce code duplication in lexer by introducing small macroEvgenii P2019-08-091-20/+17
| |
* | Merge #1661bors[bot]2019-08-088-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 reviewEvgenii P2019-08-0818-485/+576
| | |
| * | Fix variadic arg inline testEvgenii P2019-08-072-24/+24
| | |
| * | Add function parameters attributesEvgenii P2019-08-0714-21/+489
| | |
* | | assoc types boundsAleksey Kladov2019-08-072-0/+56
|/ /
* | Merge #1640bors[bot]2019-08-041-1/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | 1640: Bump deps r=matklad a=lnicola `insta`, `unicode-xid` and others Co-authored-by: LaurenČ›iu Nicola <[email protected]>
| * | Bump depsLaurențiu Nicola2019-08-041-1/+0
| |/
* | Unconditionally trim the end of commentskjeremy2019-07-312-13/+5
| |
* | Removes `*/` in block doc commentskjeremy2019-07-312-2/+62
|/
* Add explicit newline preserving testskjeremy2019-07-311-0/+17
|
* Add merge_match_arm assist, bump rowan to 0.6.1Phil Ellison2019-07-291-1/+1
|
* Merge #1604bors[bot]2019-07-291-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 formatPhil Ellison2019-07-281-3/+1
| |
| * Add special case for f32 and f43 suffices on Literal.kindPhil Ellison2019-07-282-17/+21
| |
| * Add issue link and trailing newlinePhil Ellison2019-07-281-1/+2
| |
| * More direct failing testPhil Ellison2019-07-281-0/+13
| |
* | move syntax tests to unit testsAleksey Kladov2019-07-24510-10/+9
| |
* | Merge #1584bors[bot]2019-07-243-526/+88
|\ \ | | | | | | | | | | | | | | | | | | | | | 1584: switch to upstream unescape r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | switch to upstream unescapeAleksey Kladov2019-07-243-526/+88
| | |
* | | Merge #1583bors[bot]2019-07-241-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | 1583: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: rowanAleksey Kladov2019-07-241-1/+1
| |/
* | Merge #1573bors[bot]2019-07-242-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 parenthesescsmoe2019-07-222-6/+66
| |
* | kill old lexerAleksey Kladov2019-07-226-571/+17
| |
* | add rustc_lexerAleksey Kladov2019-07-227-25/+149
|/
* simiplifyAleksey Kladov2019-07-212-11/+10
|
* streamline APIAleksey Kladov2019-07-213-17/+7
|
* minor, move typeAleksey Kladov2019-07-213-12/+13
|
* switch to upstream rowan's APIAleksey Kladov2019-07-208-680/+147
|
* Merge #1566bors[bot]2019-07-201-13/+3
|\ | | | | | | | | | | | | | | 1566: align SyntaxText API with upstream r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * align SyntaxText API with upstreamAleksey Kladov2019-07-201-13/+3
| |
* | Merge #1562bors[bot]2019-07-202-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 astUnreal Hoang2019-07-202-1/+34
| |
* | Merge #1560bors[bot]2019-07-2010-68/+63
|\ \ | |/ |/| | | | | | | | | | | 1560: move debug_dump to fmt::Debug r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>