aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorRyan Cumming <[email protected]>2019-06-26 23:47:36 +0100
committerRyan Cumming <[email protected]>2019-06-26 23:52:22 +0100
commita8a1bc4b15b75e5702cb1ce1d4c5ab3153dbe3c9 (patch)
treed4ecd189aa2dcdccb477e0edcac9b72cb11032a3 /crates/ra_syntax/src
parent04a211ff6146d167a2bdf7d200df36468137591b (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 'crates/ra_syntax/src')
0 files changed, 0 insertions, 0 deletions