dtolnay / dtolnay/syn

Parse "return type notation"

Open
#1,434 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

As seen in https://github.com/rust-lang/rust/blob/b9535c0b7d64290b27c4a116262402cd12f77833/tests/ui/associated-type-bounds/return-type-notation/basic.rs.

```rust
fn test>() {…}
```

https://github.com/rust-lang/rust/pull/109010

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Rust test, tests/ui/associated-type-bounds/return-type-notation/basic.rs, to understand the return type notation and its expected syntax. Trace the existing syn parsing entry points for associated-type bounds, then verify that the shown example parses successfully and is covered by an appropriate parser test.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.