xref
: /
dports
/
lang
/
rust
/
rustc-1.58.1-src
/
src
/
test
/
ui
/
privacy
/
private-item-simple.rs
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
mod
a
{
f()
2
fn
f
() {}
3
}
4
main()
5
fn
main
() {
6
a
::
f
();
//~ ERROR function `f` is private
7
}
8