]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/private-impl-method.stderr
Bless tests after rebase
[rust.git] / tests / ui / privacy / private-impl-method.stderr
1 error[E0624]: associated function `foo` is private
2   --> $DIR/private-impl-method.rs:20:7
3    |
4 LL |         fn foo(&self) {}
5    |         ------------- private associated function defined here
6 ...
7 LL |     s.foo();
8    |       ^^^ private associated function
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0624`.