fork/rust

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

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

1.44.0
742 B20 linesraw
1error: circular modules: $DIR/circular_modules_hello.rs -> $DIR/circular_modules_main.rs -> $DIR/circular_modules_hello.rs
2  --> $DIR/circular_modules_main.rs:2:1
3   |
4LL | mod circular_modules_hello;
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error[E0425]: cannot find function `say_hello` in module `circular_modules_hello`
8  --> $DIR/circular_modules_main.rs:9:29
9   |
10LL |     circular_modules_hello::say_hello();
11   |                             ^^^^^^^^^ not found in `circular_modules_hello`
12   |
13help: possible candidate is found in another module, you can import it into scope
14   |
15LL | use circular_modules_hello::say_hello;
16   |
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0425`.