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