From 7c09e5754338f4dee2d4c7124004523dd17a7d53 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 10 Oct 2022 11:58:21 -0700 Subject: [PATCH] chore: allow renamed and removed lints on docs build (#2344) Currently, the Netlify docs are failing because of a warning that one of the lints we explicitly enable is no longer a warning on nightly but becoming a hard error. This is because the docs are built on nightly with `-D warnings`, which denies all warnings...which seems not ideal. For now, let's not remove that lint from the `deny` list, as it's still a valid lint on stable. Instead, this PR explicitly allows that lint on the docs build. --- netlify.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/netlify.toml b/netlify.toml index 271c5d4b3a..6e3beff1a6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,6 +8,7 @@ [build.environment] RUSTDOCFLAGS=""" -D warnings \ + --force-warn renamed-and-removed-lints \ --cfg docsrs \ --cfg tracing_unstable """