]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0260.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[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() {}