@@ -33,7 +33,6 @@ fn dogfood_clippy() {
33
33
let mut command = Command :: new ( & * CLIPPY_PATH ) ;
34
34
command
35
35
. current_dir ( root_dir)
36
- . env ( "CLIPPY_DOGFOOD" , "1" )
37
36
. env ( "CARGO_INCREMENTAL" , "0" )
38
37
. arg ( "clippy" )
39
38
. arg ( "--all-targets" )
@@ -79,7 +78,6 @@ fn test_no_deps_ignores_path_deps_in_workspaces() {
79
78
// Make sure that with the `--no-deps` argument Clippy does not run on `path_dep`.
80
79
let output = Command :: new ( & * CLIPPY_PATH )
81
80
. current_dir ( & cwd)
82
- . env ( "CLIPPY_DOGFOOD" , "1" )
83
81
. env ( "CARGO_INCREMENTAL" , "0" )
84
82
. arg ( "clippy" )
85
83
. args ( & [ "-p" , "subcrate" ] )
@@ -99,7 +97,6 @@ fn test_no_deps_ignores_path_deps_in_workspaces() {
99
97
// Test that without the `--no-deps` argument, `path_dep` is linted.
100
98
let output = Command :: new ( & * CLIPPY_PATH )
101
99
. current_dir ( & cwd)
102
- . env ( "CLIPPY_DOGFOOD" , "1" )
103
100
. env ( "CARGO_INCREMENTAL" , "0" )
104
101
. arg ( "clippy" )
105
102
. args ( & [ "-p" , "subcrate" ] )
@@ -126,7 +123,6 @@ fn test_no_deps_ignores_path_deps_in_workspaces() {
126
123
let successful_build = || {
127
124
let output = Command :: new ( & * CLIPPY_PATH )
128
125
. current_dir ( & cwd)
129
- . env ( "CLIPPY_DOGFOOD" , "1" )
130
126
. env ( "CARGO_INCREMENTAL" , "0" )
131
127
. arg ( "clippy" )
132
128
. args ( & [ "-p" , "subcrate" ] )
@@ -228,7 +224,6 @@ fn run_clippy_for_project(project: &str) {
228
224
229
225
command
230
226
. current_dir ( root_dir. join ( project) )
231
- . env ( "CLIPPY_DOGFOOD" , "1" )
232
227
. env ( "CARGO_INCREMENTAL" , "0" )
233
228
. arg ( "clippy" )
234
229
. arg ( "--all-targets" )
0 commit comments