about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2024-08-08 00:39:30 +0000
committerAlex Macleod <alex@macleod.io>2024-08-08 00:39:30 +0000
commit17de8fbd068e6eb83bbfeea1fe47c5bc36ea81a8 (patch)
tree1c876ab83626a64aaae1d9e19141faa7c81a6105
parentf2deab375c9efd0b92c43fbc092f056f2a9875ce (diff)
downloadrust-17de8fbd068e6eb83bbfeea1fe47c5bc36ea81a8.tar.gz
rust-17de8fbd068e6eb83bbfeea1fe47c5bc36ea81a8.zip
lintcheck: disable doc links
-rw-r--r--lintcheck/src/main.rs3
1 files changed, 2 insertions, 1 deletions
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 @@ impl Crate {
         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