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