]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/circular_modules_main.stderr
Rollup merge of #93493 - GKFX:char-docs-2, r=scottmcm
[rust.git] / src / test / ui / parser / circular_modules_main.stderr
1 error: circular modules: $DIR/circular_modules_main.rs -> $DIR/circular_modules_hello.rs -> $DIR/circular_modules_main.rs
2   --> $DIR/circular_modules_hello.rs:4:1
3    |
4 LL | mod circular_modules_main;
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0425]: cannot find function `hi_str` in module `circular_modules_main`
8   --> $DIR/circular_modules_hello.rs:7:43
9    |
10 LL |     println!("{}", circular_modules_main::hi_str());
11    |                                           ^^^^^^ not found in `circular_modules_main`
12    |
13 help: consider importing this function
14    |
15 LL | use hi_str;
16    |
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0425`.