From 17de8fbd068e6eb83bbfeea1fe47c5bc36ea81a8 Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Thu, 8 Aug 2024 00:39:30 +0000 Subject: [PATCH] lintcheck: disable doc links --- lintcheck/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lintcheck/src/main.rs b/lintcheck/src/main.rs index e6170d6bbdf..acb6eaa5278 100644 --- a/lintcheck/src/main.rs +++ b/lintcheck/src/main.rs @@ -119,7 +119,8 @@ fn run_clippy_lints( cmd.arg(if config.fix { "fix" } else { "check" }) .arg("--quiet") .current_dir(&self.path) - .env("CLIPPY_ARGS", clippy_args.join("__CLIPPY_HACKERY__")); + .env("CLIPPY_ARGS", clippy_args.join("__CLIPPY_HACKERY__")) + .env("CLIPPY_DISABLE_DOCS_LINKS", "1"); if let Some(server) = server { // `cargo clippy` is a wrapper around `cargo check` that mainly sets `RUSTC_WORKSPACE_WRAPPER` to