dtolnay / dtolnay/syn

Parse field projection syntax

Open
#2,025 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/rust/issues/145383

> There are lots of different possibilities for which syntax we can choose, here are a couple options: `@x->f`/`@mut x->f`, `@x.f`/`@mut x.f`, `x.@f`/`x.mut@f`, `x.ref.@f`/`x.@f`. Also many alternatives for the sigils used: `x@f`, `x~f`, `x.@.f`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading rust-lang/rust issue #145383, which contains the proposed field-projection syntax alternatives. Confirm which syntax Rust adopts before changing syn; done means the selected projection forms are parsed consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.