1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// bare pub // with scope pub(crate) pub (crate) pub(super) pub(self) pub(in ::foo) pub(in foo) pub(in foo::bar) pub(in foo::bar::baz) // not valid pub expression, parens not colored pub(crat) pub(in) spub(crate)