]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/visibility.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / tools / rustfmt / tests / target / visibility.rs
1 // #2398
2 pub mod outer_mod {
3     pub mod inner_mod {
4         pub(in outer_mod) fn outer_mod_visible_fn() {}
5         pub(super) fn super_mod_visible_fn() {}
6         pub(self) fn inner_mod_visible_fn() {}
7     }
8 }