/src/test/compile-fail/import4.rs

http://github.com/jruderman/rust · Rust · 6 lines · 3 code · 2 blank · 1 comment · 0 complexity · 0129a185be91b78a8a67dc58f187cb27 MD5 · raw file

  1. // error-pattern: import
  2. mod a { import foo = b::foo; export foo; }
  3. mod b { import foo = a::foo; export foo; }
  4. fn main(args: ~[str]) { debug!{"loop"}; }