Skip to content

nighlty rustdoc issues warning for code using Error #51871

Closed
@tspiteri

Description

@tspiteri

For this lib.rs:

pub struct Foo(std::error::Error);

I get this:

$ rustdoc +nightly -V
rustdoc 1.28.0-nightly (cd494c1f0 2018-06-27)
$ rustdoc +nightly lib.rs 
warning: `[Debug]` cannot be resolved, ignoring it...
   |
   = note: #[warn(intra_doc_link_resolution_failure)] on by default
   = note: the link appears in this line:
           
            themselves through the [`Display`] and [`Debug`] traits, and may provide
                                                    ^^^^^^^
   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions