]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/visibility.rs
Merge commit '9809f5d21990d9e24b3e9876ea7da756fd4e9def' into libgccjit-codegen
[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 }