rust/tests/data/parser/ok/0012_visibility.rs

6 lines
98 B
Rust
Raw Normal View History

2018-01-12 13:05:46 -06:00
fn a() {}
pub fn b() {}
pub(crate) fn c() {}
pub(super) fn d() {}
pub(in foo::bar::baz) fn e() {}