lintcheck: disable doc links
This commit is contained in:
parent
f2deab375c
commit
17de8fbd06
@ -119,7 +119,8 @@ fn run_clippy_lints(
|
|||||||
cmd.arg(if config.fix { "fix" } else { "check" })
|
cmd.arg(if config.fix { "fix" } else { "check" })
|
||||||
.arg("--quiet")
|
.arg("--quiet")
|
||||||
.current_dir(&self.path)
|
.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 {
|
if let Some(server) = server {
|
||||||
// `cargo clippy` is a wrapper around `cargo check` that mainly sets `RUSTC_WORKSPACE_WRAPPER` to
|
// `cargo clippy` is a wrapper around `cargo check` that mainly sets `RUSTC_WORKSPACE_WRAPPER` to
|
||||||
|
Loading…
Reference in New Issue
Block a user