These are chat archives for rust-lang/rust

10th
Oct 2016
Pete Hayes
@petehayes102
Oct 10 2016 09:14
Hey guys - I have a macro that generates other macros, which are exported and consumed by third party crates. Everything works fine except that in third party crates, $crate resolves to “::” instead of “moo::”.
Has anyone seen this or know a workaround?
Sergey Noskov
@Albibek
Oct 10 2016 09:20
it's probably resolved to the crate where you run macro in, i.e. the crate of cow/src/main.rs
Pete Hayes
@petehayes102
Oct 10 2016 09:21
Oh ok…makes sense. Any ideas how I get around it?