/src/test/compile-fail/import-loop-2.rs
http://github.com/jruderman/rust · Rust · 13 lines · 9 code · 3 blank · 1 comment · 0 complexity · 6eb67542186cb506778cbd125a9e0ef8 MD5 · raw file
- // error-pattern:import
- mod a {
- import b::x;
- export x;
- }
- mod b {
- import a::x;
- export x;
- fn main() { let y = x; }
- }