summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/visibility.rs
blob: 1c5919ccff97dc72ce1500a4bc5850149305d19f (plain)
1
2
3
4
5
6
7
8
// #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() {}
    }
}