fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
397 B15 linesraw
1error[E0603]: function `bar` is private
2  --> $DIR/issue-16725.rs:6:19
3   |
4LL |     unsafe { foo::bar(); }
5   |                   ^^^ this function is private
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`.