File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
src/test/rustdoc/intra-doc-crate Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ #![ crate_name = "hidden_dep" ]
2+ #![ deny( intra_doc_resolution_failure) ]
3+
4+ #[ doc( hidden) ]
5+ pub mod __reexport {
6+ pub use crate :: * ;
7+ }
8+
9+ pub mod future {
10+ mod ready {
11+
12+ /// Link to [`ready`](function@ready)
13+ pub struct Ready ;
14+ pub fn ready ( ) { }
15+
16+ }
17+ pub use self :: ready:: { ready, Ready } ;
18+
19+ }
Original file line number Diff line number Diff line change 1+ // aux-build:hidden.rs
2+ // build-aux-docs
3+ #![ deny( intra_doc_resolution_failure) ]
4+
5+ // tests https://github.com/rust-lang/rust/issues/73363
6+
7+ extern crate hidden_dep;
8+
9+ // @has 'hidden/struct.Ready.html' '//a/@href' '../hidden/fn.ready.html'
10+ pub use hidden_dep:: future:: { ready, Ready } ;
You can’t perform that action at this time.
0 commit comments