dtolnay / dtolnay/syn

Parse named argument syntax in parenthesized generic arguments

Open
#2,022 0 comments 0 reactions 0 assignees View on GitHub
syntax
Dominant language
Rust
Stars
3.4k
Forks
374
Avg merge
1d 5h
Merged PRs (30d)
2

Description

- https://github.com/rust-lang/rfcs/pull/3955
- https://github.com/rust-lang/rust/issues/158499

```rust
fn parse_my_data(
data: &str,
log: impl Fn(msg: String, priority: usize),
)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading RFC 3955 and rust-lang/rust issue 158499 to understand the named-argument syntax and its intended scope. Then locate the relevant syn parser entry point and add coverage for the shown parenthesized generic argument form; done means that syntax parses successfully without regressing existing forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.