@@ -33,7 +33,6 @@ fn dogfood_clippy() {
3333 let mut command = Command :: new ( & * CLIPPY_PATH ) ;
3434 command
3535 . current_dir ( root_dir)
36- . env ( "CLIPPY_DOGFOOD" , "1" )
3736 . env ( "CARGO_INCREMENTAL" , "0" )
3837 . arg ( "clippy" )
3938 . arg ( "--all-targets" )
@@ -79,7 +78,6 @@ fn test_no_deps_ignores_path_deps_in_workspaces() {
7978 // Make sure that with the `--no-deps` argument Clippy does not run on `path_dep`.
8079 let output = Command :: new ( & * CLIPPY_PATH )
8180 . current_dir ( & cwd)
82- . env ( "CLIPPY_DOGFOOD" , "1" )
8381 . env ( "CARGO_INCREMENTAL" , "0" )
8482 . arg ( "clippy" )
8583 . args ( & [ "-p" , "subcrate" ] )
@@ -99,7 +97,6 @@ fn test_no_deps_ignores_path_deps_in_workspaces() {
9997 // Test that without the `--no-deps` argument, `path_dep` is linted.
10098 let output = Command :: new ( & * CLIPPY_PATH )
10199 . current_dir ( & cwd)
102- . env ( "CLIPPY_DOGFOOD" , "1" )
103100 . env ( "CARGO_INCREMENTAL" , "0" )
104101 . arg ( "clippy" )
105102 . args ( & [ "-p" , "subcrate" ] )
@@ -126,7 +123,6 @@ fn test_no_deps_ignores_path_deps_in_workspaces() {
126123 let successful_build = || {
127124 let output = Command :: new ( & * CLIPPY_PATH )
128125 . current_dir ( & cwd)
129- . env ( "CLIPPY_DOGFOOD" , "1" )
130126 . env ( "CARGO_INCREMENTAL" , "0" )
131127 . arg ( "clippy" )
132128 . args ( & [ "-p" , "subcrate" ] )
@@ -228,7 +224,6 @@ fn run_clippy_for_project(project: &str) {
228224
229225 command
230226 . current_dir ( root_dir. join ( project) )
231- . env ( "CLIPPY_DOGFOOD" , "1" )
232227 . env ( "CARGO_INCREMENTAL" , "0" )
233228 . arg ( "clippy" )
234229 . arg ( "--all-targets" )
0 commit comments