fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
367 B15 linesraw
1error[E0603]: function `f` is private
2  --> $DIR/private-item-simple.rs:6:8
3   |
4LL |     a::f();
5   |        ^ this function is private
6   |
7note: the function `f` is defined here
8  --> $DIR/private-item-simple.rs:2:5
9   |
10LL |     fn f() {}
11   |     ^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0603`.