summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-81141-private-reexport-in-public-api-2.rs
blob: 4e9d188bbf8d1270b0ce14b82fc8169276d49851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// edition:2015

#![crate_name = "foo"]

use external::Public as Private;

pub mod external {
    pub struct Public;

    // @has 'foo/external/fn.make.html'
    // @has - '//*[@class="rust item-decl"]/code' 'pub fn make() -> Public'
    pub fn make() -> ::Private { super::Private }
}