aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-11-30 19:50:27 -0800
committerDaniel Mueller <deso@posteo.net>2020-11-30 19:50:27 -0800
commitf1265b72fa1f1a91785fd2e3db1d667037ed8678 (patch)
tree36f3fb9523bc1a4595c95ba6958b43e088970c5b
parentac5ea03a16f71fa7305e931619a132e150c83c29 (diff)
downloadnitrocli-f1265b72fa1f1a91785fd2e3db1d667037ed8678.tar.gz
nitrocli-f1265b72fa1f1a91785fd2e3db1d667037ed8678.tar.bz2
Rename intra_doc_link_resolution_failure lint
The intra_doc_link_resolution_failure lint has been renamed to broken_intra_doc_links in recent versions of Rust. With this change we update it accordingly in our list of lints to use for the crate. Because our CI tests against the minimum supported Rust version, which does not yet understand the new lint, we configure it to allow unknown lints.
-rw-r--r--ci/gitlab-ci.yml2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/gitlab-ci.yml b/ci/gitlab-ci.yml
index 79d0317..0a40cc7 100644
--- a/ci/gitlab-ci.yml
+++ b/ci/gitlab-ci.yml
@@ -21,7 +21,7 @@ build-test:cargo:
lint:clippy:
script:
- rustup component add clippy
- - cargo clippy --all-targets --all-features -- -D warnings
+ - cargo clippy --all-targets --all-features -- -A unknown_lints -D warnings
lint:reuse:
script:
diff --git a/src/main.rs b/src/main.rs
index c8b73dc..d193934 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,11 +5,11 @@
#![warn(
bad_style,
+ broken_intra_doc_links,
dead_code,
future_incompatible,
illegal_floating_point_literal_pattern,
improper_ctypes,
- intra_doc_link_resolution_failure,
late_bound_lifetime_arguments,
missing_debug_implementations,
missing_docs,