2012-07-06 19:06:58 -07:00
|
|
|
// error-pattern:import
|
2010-07-09 11:59:00 -07:00
|
|
|
|
|
|
|
mod a {
|
2013-01-30 14:30:22 -08:00
|
|
|
pub use b::x;
|
2010-07-09 11:59:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mod b {
|
2013-01-30 14:30:22 -08:00
|
|
|
pub use a::x;
|
2010-07-09 11:59:00 -07:00
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
fn main() { let y = x; }
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|
2018-08-23 02:19:38 +03:00
|
|
|
|
|
|
|
fn main() {}
|