Current nightly rustc 1.25.0-nightly (8ccab7eed 2018-01-31)
change handling of
workspace. At now if you compile code inside crate, that part of workspace it print warnings/errors
in form of crate/src/foo.rs:X:Y
instead of src/foo.rs:X:Y
.
Anybody know why this change was done?
It breaks many tools, for example emacs + rust-mode
becomes unusable - for each error it
ask me where to find file, because of it expects that if you run compiler in directory workspace/crate
,
the all paths should be relative to crate
or absolute, but at now all paths relative to worskspace
.
intellij-rust also not show errors with nightly https://users.rust-lang.org/t/intellij-rust-and-compile-errors/15103/7
I do not know about intellij, but for emacs this not configurable behaviour, so it requires implementation of something like rust-compile-mode
and it is not the simple thing.
May be it is possible somehow turn off this new feature?