rust/src/test/compile-fail/issue-3099-b.rs
2012-10-18 12:09:40 -07:00

8 lines
110 B
Rust

#[legacy_exports]
mod a {}
#[legacy_exports]
mod a {} //~ ERROR duplicate definition of type a
fn main() {}