]> git.lizzy.rs Git - rust.git/commit
clippy-driver: more robust test to see if we're clippy-enabled
authorJeremy Fitzhardinge <jsgf@fb.com>
Tue, 15 Jan 2019 18:56:09 +0000 (10:56 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Sat, 2 Feb 2019 19:43:20 +0000 (11:43 -0800)
commitb5fd0108b3a6b8a9626645ac174cf653de576135
treea988f15a03dc859290f9833a4dd5ecca520048b5
parent27b5dd8886ac0423e059c0817b55a4e618b344a0
clippy-driver: more robust test to see if we're clippy-enabled

Rather than looking for a fixed --emit arg set, just check to see
if we're emitting metadata at all. This makes it more robust to
being invoked by tools other than cargo (or if cargo changes its
invocation).

Issue #3663
Cargo.toml
src/driver.rs