fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
389 B15 linesraw
1error[E0603]: function `bar` is private
2  --> $DIR/issue-16725.rs:6:19
3   |
4LL |     unsafe { foo::bar(); }
5   |                   ^^^ private function
6   |
7note: the function `bar` is defined here
8  --> $DIR/auxiliary/issue-16725.rs:2:5
9   |
10LL |     fn bar();
11   |     ^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0603`.