]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0260.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / error-codes / E0260.rs
1 #![feature(alloc)]
2 #![allow(unused_extern_crates)]
3
4 extern crate alloc;
5
6 mod alloc {
7 //~^ ERROR the name `alloc` is defined multiple times [E0260]
8     pub trait MyTrait {
9         fn do_something();
10     }
11 }
12
13 fn main() {}