fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
843 B25 linesraw
1error: 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   |
4LL | mod circular_modules_main;
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error[E0425]: cannot find function `hi_str` in module `circular_modules_main`
8  --> $DIR/circular_modules_hello.rs:7:43
9   |
10LL |     println!("{}", circular_modules_main::hi_str());
11   |                                           ^^^^^^ not found in `circular_modules_main`
12   |
13help: consider importing this function
14   |
15LL + use hi_str;
16   |
17help: if you import `hi_str`, refer to it directly
18   |
19LL -     println!("{}", circular_modules_main::hi_str());
20LL +     println!("{}", hi_str());
21   |
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0425`.