blob: d5cdff34a264f284eccb3905b82b1e748f7932aa (
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();
}
|