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
commit64dc5bcbcc703d72fc57f0675492b13ac7aeaba9 (patch)
treeea990d28af3838a4036740455ff996c319aebf7c
parentf65b150049ec9dc5ff2500d7e54c464d530f2e66 (diff)
downloadnitrocli-64dc5bcbcc703d72fc57f0675492b13ac7aeaba9.tar.gz
nitrocli-64dc5bcbcc703d72fc57f0675492b13ac7aeaba9.tar.bz2
Rename intra_doc_link_resolution_failure lintdevel-20210110
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,