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