aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline
Commit message (Collapse)AuthorAgeFilesLines
* Merge #1661bors[bot]2019-08-084-0/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0816-485/+78
| |
| * Fix variadic arg inline testEvgenii P2019-08-072-24/+24
| |
| * Add function parameters attributesEvgenii P2019-08-0712-21/+485
| |
* | assoc types boundsAleksey Kladov2019-08-072-0/+56
|/
* move syntax tests to unit testsAleksey Kladov2019-07-24298-0/+8747