2020-03-04 21:03:15 -06:00
|
|
|
error[E0624]: associated function `foo` is private
|
2020-03-22 16:09:42 -07:00
|
|
|
--> $DIR/issue-21202.rs:10:14
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | Foo::foo(&f);
|
2020-03-22 16:09:42 -07:00
|
|
|
| ^^^ private associated function
|
2021-06-10 13:52:00 +02:00
|
|
|
|
|
2021-07-17 11:13:50 -07:00
|
|
|
::: $DIR/auxiliary/issue-21202.rs:4:9
|
|
|
|
|
|
|
|
|
LL | fn foo(&self) { }
|
|
|
|
| ------------- private associated function defined here
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0624`.
|