Skip to content

Separate private_intra_doc_links and broken_intra_doc_links into separate lints#77249

Merged
bors merged 2 commits intorust-lang:masterfrom
jyn514:private-links
Sep 27, 2020
Merged

Separate private_intra_doc_links and broken_intra_doc_links into separate lints#77249
bors merged 2 commits intorust-lang:masterfrom
jyn514:private-links

Conversation

@jyn514
Copy link
Member

@jyn514 jyn514 commented Sep 27, 2020

This is not ideal because it means deny(broken_intra_doc_links) will
no longer deny(private_intra_doc_links). However, it can't be fixed
with a new lint group, because broken is already in the rustdoc lint
group; there would need to be a way to nest groups somehow.

This also removes the early return so that the link will be generated
even though it gives a warning.

r? @Manishearth
cc @ecstatic-morse (#77242 (comment))

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-visibility Area: Visibility / privacy S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants