Parse heterogeneous try-block 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/rust/issues/149488
Example: https://github.com/rust-lang/rust/blob/d39561c2d2b55985d3b6331cc52403e038e7fc8b/src/tools/rustfmt/tests/source/try_blocks_heterogeneous.rs#L5
```rust
let _x = try bikeshed Option<_> {
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Rust issue and the referenced rustfmt fixture at src/tools/rustfmt/tests/source/try_blocks_heterogeneous.rs, especially the heterogeneous try-block example. Trace how syn parses this syntax and add coverage for the shown form; done means the example parses successfully.
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
- 48/100