]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/privacy.stderr
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / hygiene / privacy.stderr
1 error[E0603]: function `f` is private
2   --> $DIR/privacy.rs:16:14
3    |
4 LL |         foo::f()
5    |              ^ private function
6    |
7 note: the function `f` is defined here
8   --> $DIR/privacy.rs:4:5
9    |
10 LL |     fn f() {}
11    |     ^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.