2018-08-08 12:28:26 +00:00
|
|
|
error[E0603]: function `bar` is private
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-16725.rs:6:19
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | unsafe { foo::bar(); }
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^ private function
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the function `bar` is defined here
|
|
|
|
--> $DIR/auxiliary/issue-16725.rs:2:5
|
|
|
|
|
|
|
|
|
LL | fn bar();
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|