mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +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.
19 lines
469 B
Rust
19 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;
|