aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0031_extern.txt
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-08-08 14:04:28 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-08-08 14:04:28 +0100
commit87608904f697a3f58ddb71a7f6828dac80f8b3ce (patch)
tree11907e37146390bd033a9667995a5e8c9d61a9ed /crates/ra_syntax/test_data/parser/ok/0031_extern.txt
parentde4523fae07a2bf0c058d021bd4cfdb53946c4bf (diff)
parent6fa2d8214784b6ecfc3fbcd98778d4e58fa8664e (diff)
Merge #1661
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]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0031_extern.txt')
0 files changed, 0 insertions, 0 deletions