]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/circular_modules_main.rs
Rollup merge of #93337 - Amanieu:asm_tracking, r=tmiasko
[rust.git] / src / test / ui / parser / circular_modules_main.rs
1 // error-pattern: circular modules
2
3 #[path = "circular_modules_hello.rs"]
4 mod circular_modules_hello;
5
6 pub fn hi_str() -> String {
7     "Hi!".to_string()
8 }
9
10 fn main() {
11     circular_modules_hello::say_hello();
12 }