Parse const function pointer syntax
Open
syntax
- Dominant language
- Rust
- Stars
- 3.4k
- Forks
- 374
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 2
Description
- Mentioned in https://github.com/rust-lang/rust/issues/63997:
```rust
const fn foo(f: const fn() -> i32) -> i32 {
f()
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Rust snippet from the issue and determine how syn currently handles the const function-pointer syntax. Done means the example parses successfully without changing the meaning of existing function-pointer syntax; the issue does not name a file or test to begin with.
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