@rustlang found a surprising import behavior/requirement when upgrading to 2018 that I'm not sure is a feature or bug. Goes like this: In crate `a` define a trait Foo. In crate `b` implement a proc macro to derive impls for trait Foo. cont...
-
-
will follow up if I can't work around, there was a tweet that linked to serde's workaround of cargo feature flagging and re-exporting the proc macro in its core crate https://github.com/serde-rs/serde/blob/5c24f0f0f300c7bd21bad5b097f6f1919de8477c/serde/src/lib.rs#L292-L298 …. I may just steal that pattern for the time being.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
