These are chat archives for rust-lang/rust

Oct 2016
Pete Hayes
Oct 10 2016 09:14 UTC
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
Oct 10 2016 09:20 UTC
it's probably resolved to the crate where you run macro in, i.e. the crate of cow/src/
Pete Hayes
Oct 10 2016 09:21 UTC
Oh ok…makes sense. Any ideas how I get around it?