rust/tests/ui/error-codes/E0260.rs

11 lines
168 B
Rust

extern crate alloc;
mod alloc {
//~^ ERROR the name `alloc` is defined multiple times [E0260]
pub trait MyTrait {
fn do_something();
}
}
fn main() {}