diff options
author | Ryan Cumming <[email protected]> | 2019-06-26 23:47:36 +0100 |
---|---|---|
committer | Ryan Cumming <[email protected]> | 2019-06-26 23:52:22 +0100 |
commit | a8a1bc4b15b75e5702cb1ce1d4c5ab3153dbe3c9 (patch) | |
tree | d4ecd189aa2dcdccb477e0edcac9b72cb11032a3 /editors/emacs | |
parent | 04a211ff6146d167a2bdf7d200df36468137591b (diff) |
Extract lint scopes from `cargo watch`
Currently all of our VS Code diagnostics are given the source of
`rustc`. However, if you have something like `cargo-watch.command` set
to `clippy` it will also watch for Clippy lints. The `rustc` source is a
bit misleading in that case.
Fortunately, Rust's tool lints (RFC 2103) line up perfectly with VS
Code's concept of `source`. This checks for lints scoped to a given tool
and then splits them in to a `source` and tool-specific `code`.
Diffstat (limited to 'editors/emacs')
0 files changed, 0 insertions, 0 deletions