You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Rust nightly (1.25.0, 2018-02-01), but I double checked the JSON from Rust stable (1.23.0) and it has the same structure.
I didn't try to reproduce this in emacs -Q.
M-x flycheck-verify-setup:
Syntax checkers for buffer test.rs in rust-mode:
rust-cargo (disabled)
- may enable: Automatically disabled!
- predicate: t
- executable: Found at /Users/tchajed/.cargo/bin/cargo
- Cargo.toml: Missing
- Crate type: lib
- Binary name: Not required
rust
- may enable: yes
- predicate: t
- executable: Found at /Users/tchajed/.cargo/bin/rustc
Flycheck Mode is enabled. Use SPC u C-c ! x to enable disabled checkers.
--------------------
Flycheck version: 32snapshot (package: 20180123.1419)
Emacs version: 25.2.1
System: x86_64-apple-darwin13.4.0
Window system: ns
operating system: OS X 10.11
emacs version: GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-04-21
Flycheck version: 32snapshot (package: 20180123.1419)
The text was updated successfully, but these errors were encountered:
Sorry for the late response - I can confirm this is fixed on the master branch, and Spacemacs gets dependencies from MELPA rather than MELPA Stable so that version is used by default.
Flycheck does not capture all of the information in Rust's error message for the following mistake (a misspelled macro):
Flycheck reports the following:
but Rust's rendered error is:
Here's Rust's JSON error (just the
message
field of this error):Note that "you could try the macro:
print
" is represented as "you could try the macro" plus a suggested replacement. It looks like flycheck ignores spans in children under the assumption they aren't used, but this seems to be a counter example.Setup information
I'm using Rust nightly (1.25.0, 2018-02-01), but I double checked the JSON from Rust stable (1.23.0) and it has the same structure.
I didn't try to reproduce this in
emacs -Q
.M-x flycheck-verify-setup
:operating system: OS X 10.11
emacs version: GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-04-21
Flycheck version: 32snapshot (package: 20180123.1419)
The text was updated successfully, but these errors were encountered: