Skip to content

Commit 7c09e57

Browse files
committed
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.
1 parent eb6c6a3 commit 7c09e57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
[build.environment]
99
RUSTDOCFLAGS="""
1010
-D warnings \
11+
--force-warn renamed-and-removed-lints \
1112
--cfg docsrs \
1213
--cfg tracing_unstable
1314
"""

0 commit comments

Comments
 (0)