]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0260.rs
Rollup merge of #98617 - ChrisDenton:const-unwrap, r=Mark-Simulacrum
[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() {}