]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/circular_modules_main.stderr
Update unsuspicious file list
[rustc.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 help: if you import `hi_str`, refer to it directly
18 |
19 LL - println!("{}", circular_modules_main::hi_str());
20 LL + println!("{}", hi_str());
21 |
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0425`.