mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
287 B
Rust
13 lines
287 B
Rust
//@ 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 }
|
|
}
|