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