Files
rust/src/test/ui/parser/circular_modules_main.stderr

21 lines
699 B
Plaintext
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: circular modules: $DIR/circular_modules_hello.rs -> $DIR/circular_modules_main.rs -> $DIR/circular_modules_hello.rs
2020-03-09 11:16:00 +01:00
--> $DIR/circular_modules_main.rs:2:1
2018-10-20 23:36:17 +03:00
|
2019-03-09 15:03:44 +03:00
LL | mod circular_modules_hello;
2020-03-09 11:16:00 +01:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-10-20 23:36:17 +03:00
2020-03-08 12:19:27 +01:00
error[E0425]: cannot find function `say_hello` in module `circular_modules_hello`
--> $DIR/circular_modules_main.rs:9:29
|
LL | circular_modules_hello::say_hello();
| ^^^^^^^^^ not found in `circular_modules_hello`
|
help: consider importing this function
2020-03-08 12:19:27 +01:00
|
LL | use circular_modules_hello::say_hello;
|
error: aborting due to 2 previous errors
2018-10-20 23:36:17 +03:00
2020-03-08 12:19:27 +01:00
For more information about this error, try `rustc --explain E0425`.