]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/private-item-simple.stderr
Rollup merge of #107015 - cuviper:ra-riscv64, r=Mark-Simulacrum
[rust.git] / tests / ui / privacy / private-item-simple.stderr
1 error[E0603]: function `f` is private
2   --> $DIR/private-item-simple.rs:6:8
3    |
4 LL |     a::f();
5    |        ^ private function
6    |
7 note: the function `f` is defined here
8   --> $DIR/private-item-simple.rs:2: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`.