mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
f784fa7bd9
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
18 lines
469 B
Rust
18 lines
469 B
Rust
// @!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;
|