]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/intra-doc/cross-crate/submodule-outer.rs
1 // aux-build:submodule-outer.rs
3 #![deny(rustdoc::broken_intra_doc_links)]
5 extern crate bar
as bar_
;
7 // from https://github.com/rust-lang/rust/issues/60883
12 // NOTE: we re-exported both `Foo` and `Bar` here,
13 // NOTE: so they are inlined and therefore we link to the current module.
14 // @has 'submodule_outer/trait.Foo.html' '//a[@href="bar/trait.Bar.html"]' 'Bar'
15 // @has 'submodule_outer/trait.Foo.html' '//a[@href="trait.Baz.html"]' 'Baz'
16 pub use ::bar_
::{Foo, Baz}
;