rust-lang / rust-lang/rust-mode

New error format: all diagnostics are now highlighted as errors

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

Nobody has claimed this yet.

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

Description

With the old error format, rust-mode was able to recognize errors, warnings and other info messages. The result was that compilation-mode could use different faces to distinguish between messages visually (compilation-error, compilation-warning, compilation-info).

This is now gone; all diagnostics are categorized as errors and highlighted as such (or rather, their position is). Since notes/help do no longer have individual file:line, it's not particularly serious, but unfortunate.

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 with rust-mode's diagnostic parsing and its integration with compilation-mode, focusing on how compilation-error, compilation-warning, and compilation-info are selected. Compare the current handling with the old error format; done means errors, warnings, and informational diagnostics are again categorized and highlighted distinctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, emacs-lisp, rust
Domain
devtools, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.