2020-10-11 19:27:17 -05:00
|
|
|
//@ aux-build:intra-link-reexport-additional-docs.rs
|
|
|
|
//@ build-aux-docs
|
2020-10-04 10:56:55 -05:00
|
|
|
#![crate_name = "foo"]
|
2020-10-11 19:27:17 -05:00
|
|
|
extern crate inner;
|
2020-10-04 10:56:55 -05:00
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has foo/struct.Inner.html '//a[@href="fn.with_code.html"]' 'crate::with_code'
|
2020-10-04 10:56:55 -05:00
|
|
|
/// [crate::with_code]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="fn.with_code.html"]' 'different text'
|
2020-10-04 10:56:55 -05:00
|
|
|
/// [different text][with_code]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="fn.me_too.html"]' 'me_too'
|
2020-10-04 10:56:55 -05:00
|
|
|
#[doc = "[me_too]"]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="fn.me_three.html"]' 'reference link'
|
2020-10-04 10:56:55 -05:00
|
|
|
/// This [reference link]
|
|
|
|
#[doc = "has an attr in the way"]
|
|
|
|
///
|
|
|
|
/// [reference link]: me_three
|
2020-10-11 19:27:17 -05:00
|
|
|
// Should still resolve links from the original module in that scope
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="../inner/fn.f.html"]' 'f()'
|
2020-10-11 19:27:17 -05:00
|
|
|
pub use inner::Inner;
|
2020-10-04 10:56:55 -05:00
|
|
|
|
|
|
|
pub fn with_code() {}
|
|
|
|
pub fn me_too() {}
|
|
|
|
pub fn me_three() {}
|