summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-05-03 17:08:38 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-04 04:19:59 -0400
commit40c33fd71d87e10776d86f15f35c4fb2a2202879 (patch)
treefad92d963bccbd1a31184e6181f635ea9a6251d0 /rust-mode-tests.el
parentb23efef0b6a6a632b70c1db5579a835059239e4c (diff)
downloadrust-mode-40c33fd71d87e10776d86f15f35c4fb2a2202879.tar.gz
add code to handle new-style rustc errors
These errors are available on nightly builds (or will be soon), but only (at the moment) when enabled via environment variable. They will become the default at some point in the future. In this commit we match on the `-->`, but after that we have to scroll the compilation window to make the error visible. One shortcoming is that if you enter the window and click on the filename/line-number, then the "next-error-hook" doesn't seem to run. (If you click at the start of the line, it does.) It may be possible to tweak the "hyperlink" here to make that work more smoothly, or perhaps add a hook somewhere else.
Diffstat (limited to 'rust-mode-tests.el')
0 files changed, 0 insertions, 0 deletions