]>
Commit | Line | Data |
---|---|---|
416331ca | 1 | #![allow(non_camel_case_types)] |
476ff2be | 2 | |
041b39d2 | 3 | extern crate alloc; |
3157f602 | 4 | |
5bcae85e | 5 | mod foo { |
041b39d2 | 6 | pub trait alloc { |
5bcae85e | 7 | fn do_something(); |
3157f602 | 8 | } |
a7813a04 XL |
9 | } |
10 | ||
041b39d2 | 11 | use foo::alloc; |
5bcae85e | 12 | //~^ ERROR E0254 |
5bcae85e SL |
13 | |
14 | fn main() {} |