fork/rust

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

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

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