mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
22 lines
503 B
Rust
22 lines
503 B
Rust
#![no_core]
|
|
#![feature(no_core)]
|
|
|
|
// @!has "$.index[*][?(@.name=='no_pub_inner')]"
|
|
mod no_pub_inner {
|
|
fn priv_inner() {}
|
|
}
|
|
|
|
// @!has "$.index[*][?(@.name=='pub_inner_unreachable')]"
|
|
mod pub_inner_unreachable {
|
|
// @!has "$.index[*][?(@.name=='pub_inner_1')]"
|
|
pub fn pub_inner_1() {}
|
|
}
|
|
|
|
// @!has "$.index[*][?(@.name=='pub_inner_reachable')]"
|
|
mod pub_inner_reachable {
|
|
// @has "$.index[*][?(@.name=='pub_inner_2')]"
|
|
pub fn pub_inner_2() {}
|
|
}
|
|
|
|
pub use pub_inner_reachable::pub_inner_2;
|