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
|
|
|
|
2021-03-17 13:41:01 -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]
|
2021-03-17 13:41:01 -05:00
|
|
|
// @has - '//a[@href="fn.with_code.html"]' 'different text'
|
2020-10-04 10:56:55 -05:00
|
|
|
/// [different text][with_code]
|
2021-03-17 13:41:01 -05:00
|
|
|
// @has - '//a[@href="fn.me_too.html"]' 'me_too'
|
2020-10-04 10:56:55 -05:00
|
|
|
#[doc = "[me_too]"]
|
2021-03-17 13:41:01 -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
|
|
|
|
// @has - '//a[@href="../inner/fn.f.html"]' 'f()'
|
|
|
|
pub use inner::Inner;
|
2020-10-04 10:56:55 -05:00
|
|
|
|
|
|
|
pub fn with_code() {}
|
|
|
|
pub fn me_too() {}
|
|
|
|
pub fn me_three() {}
|