-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
S-waiting-on-authorStatus: Waiting on the author of this PR or issueStatus: Waiting on the author of this PR or issue
Description
I ran into this with miette::Report and miette::Diagnostic, but I believe it is not specific to just miette.
I have a struct defined something like this (simplified):
use miette::{Diagnostic, Report};
/// This implements [`Diagnostic`] and contains a [`Report`].
#[derive(Diagnostic)]
struct MyDiagnostic {
#[diagnostic_source]
source: Report,
}When running cargo deadlinks --check-intra-doc-links, Report and Diagnostic get flagged, as well as Diagnostic::labels and Diagnostic::source_code, where the latter two are linked in echo other's doc strings.
Report and Diagnostic are only publicly accessible at the top level, as shown in the example, but are privately defined at miette::eyreish::Report and miette::protocol::Diagnostic, respectively.
If I view the generated docs, clicking a link takes me to a page that redirects to the correct page, so these links are not actually "broken".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
S-waiting-on-authorStatus: Waiting on the author of this PR or issueStatus: Waiting on the author of this PR or issue