about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2021-01-15 10:56:44 +0100
committerflip1995 <philipp.krones@embecosm.com>2021-01-15 10:56:44 +0100
commit488153ff2ff678051f06a94dc4486632d788c328 (patch)
tree079c80170f184cdee4176c73994a298a27c02e50 /src
parent7b3af4145b62781f6f8cf0b003cfd81780b608ec (diff)
downloadrust-488153ff2ff678051f06a94dc4486632d788c328.tar.gz
rust-488153ff2ff678051f06a94dc4486632d788c328.zip
Merge commit '953f024793dab92745fee9cd2c4dee6a60451771' into clippyup
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs
index e490ee54c0b..f5f6c09ed8e 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -298,7 +298,7 @@ pub fn main() {
         // - IF Clippy is run on the main crate, not on deps (`!cap_lints_allow`) THEN
         //    - IF `--no-deps` is not set (`!no_deps`) OR
         //    - IF `--no-deps` is set and Clippy is run on the specified primary package
-        let clippy_tests_set = env::var("CLIPPY_TESTS").map_or(false, |val| val == "true");
+        let clippy_tests_set = env::var("__CLIPPY_INTERNAL_TESTS").map_or(false, |val| val == "true");
         let cap_lints_allow = arg_value(&orig_args, "--cap-lints", |val| val == "allow").is_some();
         let in_primary_package = env::var("CARGO_PRIMARY_PACKAGE").is_ok();