rust-lang / rust-lang/rust-mode
imenu expression does not pick up async functions
Nobody has claimed this yet.
- Dominant language
- Emacs Lisp
- Stars
- 1.3k
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
Hi and thank you for rust mode! It works very well for the most part.
I was looking for a function with imenu the other day and realized it was not in the list because it was an async fn.
I thought I had a solution until i realized the regex used to construct the imenu expression is calculated.
I will look into a solution.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the calculated regex used to build the imenu expression and compare its matching against async fn declarations. Done means async functions appear in imenu without regressing existing function entries; the issue names no file or test, so the implementation and validation points must first be located in rust-mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs-lisp, rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100