1 2 3 4 5 6 7 8 9 10
extern crate alloc; mod alloc { //~^ ERROR the name `alloc` is defined multiple times [E0260] pub trait MyTrait { fn do_something(); } } fn main() {}