]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0260.rs
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
[rust.git] / src / test / ui / error-codes / E0260.rs
1 extern crate alloc;
2
3 mod alloc {
4 //~^ ERROR the name `alloc` is defined multiple times [E0260]
5     pub trait MyTrait {
6         fn do_something();
7     }
8 }
9
10 fn main() {}