blob: 1ae36a1f7605eb1a47403e393af05314b6f02a7c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#[path = "circular_modules_hello.rs"]
mod circular_modules_hello; //~ ERROR: circular modules
pub fn hi_str() -> String {
"Hi!".to_string()
}
fn main() {
circular_modules_hello::say_hello(); //~ ERROR cannot find function `say_hello` in module
}
|