]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/circular_modules_main.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / circular_modules_main.stderr
1 error: 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    |
4 LL | mod circular_modules_hello;
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
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: consider importing this function
14    |
15 LL | use circular_modules_hello::say_hello;
16    |
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0425`.