Closed
Description
openedon Oct 22, 2019
When in a private mod
, rustdoc fails to resolve a private member when called with --document-private-items
.
A project like this...
src/lib.rs
:
mod foo;
src/foo.rs
:
//! [`Bar`]
struct Bar;
... results in:
warning: `[Bar]` cannot be resolved, ignoring it...
--> src/foo.rs:1:6
|
1 | //! [`Bar`]
| ^^^^^ cannot be resolved, ignoring
|
= note: `#[warn(intra_doc_link_resolution_failure)]` on by default
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment