summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0260.rs
blob: f7eb220b08f597292433e769aa7adf2e2e1af443 (plain)
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() {}