2023-07-07 10:55:33 -05:00
|
|
|
//@ edition:2015
|
|
|
|
|
2024-05-21 14:28:30 -05:00
|
|
|
// https://github.com/rust-lang/rust/issues/81141
|
2023-07-07 10:55:33 -05:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
use external::Public as Private;
|
|
|
|
|
|
|
|
pub mod external {
|
|
|
|
pub struct Public;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/external/fn.make.html'
|
|
|
|
//@ has - '//*[@class="rust item-decl"]/code' 'pub fn make() -> Public'
|
2023-07-07 10:55:33 -05:00
|
|
|
pub fn make() -> ::Private { super::Private }
|
|
|
|
}
|