rust-lang / rust-lang/rust-mode

spontaneous wrong error highlting

Open
#308 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

highlighting
Dominant language
Emacs Lisp
Stars
1.3k
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Sometime when I run M-x rust-compile, compilation error not highting, and it is impossible to jump to it via "C-x `"

Then I if rerun compilation via g or force rerendering via M-x compilation-mode all works fine.
It is spontaneous error, I can run M-x rust-compile 5 times before catch error like on the first screenshot. And 4 times I get right rendering, like on the second screenshot.

a
b

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with M-x rust-compile and compare the error highlighting with the results after pressing g or rerunning M-x compilation-mode. Investigate the compilation-mode error display and the C-x ` navigation behavior. Done means rust-compile consistently highlights compilation errors and allows jumping to them without manual rerendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.