mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
9 lines
218 B
Rust
9 lines
218 B
Rust
// #2398
|
|
pub mod outer_mod {
|
|
pub mod inner_mod {
|
|
pub ( in outer_mod ) fn outer_mod_visible_fn() {}
|
|
pub ( super ) fn super_mod_visible_fn() {}
|
|
pub ( self ) fn inner_mod_visible_fn() {}
|
|
}
|
|
}
|