]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-method-inherited.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / privacy / private-method-inherited.stderr
1 error[E0624]: associated function `f` is private
2   --> $DIR/private-method-inherited.rs:13:7
3    |
4 LL |         fn f(self) {}
5    |         ---------- private associated function defined here
6 ...
7 LL |     x.f();
8    |       ^ private associated function
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0624`.