Skip to content

Commit

Permalink
Rename intra_doc_link_resolution_failure lint
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
d-e-s-o committed Dec 1, 2020
1 parent f65b150 commit 64dc5bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/gitlab-ci.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -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,
Expand Down

0 comments on commit 64dc5bc

Please sign in to comment.