summary refs log tree commit diff
path: root/src/test/ui/parser/circular_modules_main.stderr
blob: ee45f65a3bd5ad1b079e3161e5f843b64f76cef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: circular modules: $DIR/circular_modules_main.rs -> $DIR/circular_modules_hello.rs -> $DIR/circular_modules_main.rs
  --> $DIR/circular_modules_hello.rs:4:1
   |
LL | mod circular_modules_main;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0425]: cannot find function `hi_str` in module `circular_modules_main`
  --> $DIR/circular_modules_hello.rs:7:43
   |
LL |     println!("{}", circular_modules_main::hi_str());
   |                                           ^^^^^^ not found in `circular_modules_main`
   |
help: consider importing this function
   |
LL | use hi_str;
   |

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0425`.