pub mod a {}

pub mod a {} //~ ERROR the name `a` is defined multiple times

fn main() {}