Parse supertrait auto impl syntax
Open
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/3851
- https://github.com/rust-lang/rust/issues/149556
```rust
trait Subtrait2: Supertrait2 {
auto impl Supertrait2 {
type Type1 = Self;
type Type2 = ();
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Read RFC 3851 and Rust issue 149556 to understand the proposed syntax, then locate syn's existing trait parsing tests and entry points. Add coverage for the shown supertrait auto-impl example and verify that syn parses it successfully without regressing existing trait syntax.
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
- 63/100