DioxusLabs / DioxusLabs/dioxus

Usability: “... INFO ...” prefix on rustc output makes emacs not recognize errors

Open
#4,547 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

Developing in emacs, if you issue M-x compile RET dx build and there are rust errors, emacs doesn't pick them up so you can't easily jump to it. That's because the errors are preceded by some stuff emacs doesn't recognize, e.g.:

```
2.255s INFO error[E0432]: unresolved import `document`
--> packages/ui/src/application_state.rs:1:5
|
1 | use document::*;
| ^^^^^^^^ help: a similar path exists: `crate::document`
|
= note: `use` statements changed in Rust 2018; read more at
```

**Steps To Reproduce**

Steps to reproduce the behavior:

- introduce a rust error to an existing project
- in emacs, make sure you have rust-mode loaded
- M-x compile dx build RET
- M-x compilation-next-error RET

**Expected behavior**

Emacs shows me the file where the error is, with the cursor where the error was reported.

**Screenshots**

**Environment:**

- Dioxus version: dioxus 0.7.0-rc.0 (a519fba)
- Rust version: rustc 1.89.0 (29483883e 2025-08-04)
- OS info: macOS
- App platform: desktop

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.