summaryrefslogtreecommitdiff
path: root/test/highlight/rust/pub/in
blob: 6eb12235014b293805f3e8aad70140830a76d7bd (plain)
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)