So for example, Coprod! should do $crate::Coprod! when calling itself or be exported with #[macro_export(local_inner_macros)] so that it can be used without being in scope.
(I'm trying to write an ad-hoc enum conversion derive that uses Coproduct as a middle stepping ground, thus running into this.)
https://rust-lang-nursery.github.io/edition-guide/rust-2018/macros/macro-changes.html#local-helper-macros
So for example,
Coprod!
should do$crate::Coprod!
when calling itself or be exported with#[macro_export(local_inner_macros)]
so that it can be used without being in scope.(I'm trying to write an ad-hoc enum conversion derive that uses
Coproduct
as a middle stepping ground, thus running into this.)