rust/tests/ui/issues/issue-16725.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
388 B
Plaintext
Raw Normal View History

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(); }
| ^^^ private function
|
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
error: aborting due to previous error
For more information about this error, try `rustc --explain E0603`.