blob: d4b47efe681580fa2f97d9c92f16780ec8a10812 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// error-pattern: circular modules
#[path = "circular_modules_hello.rs"]
mod circular_modules_hello;
pub fn hi_str() -> String {
"Hi!".to_string()
}
fn main() {
circular_modules_hello::say_hello();
}
|