Hi,
It seems that the syn2 and syn3 features are mutually exclusive, as they both a copy of the following impl:
impl<T: quote::ToTokens> ManyhowToTokens<T> for &WhatType<T> {}
additionally, the following two blanket impls collide when both features are activated:
#[cfg(all(feature = "syn2", not(doc)))]
impl<T: syn2::parse::Parse> ManyhowParse<T> for &WhatType<T> {}
#[cfg(feature = "syn3")]
impl<T: syn3::parse::Parse> ManyhowParse<T> for &WhatType<T> {}
Is this intended? This suggests that using this crate in a setup that has both syn2 and syn3 based proc-macros that use the same version manyhow will never compile since (AFAIK) the features for manyhow will be unified.
Thanks,
Jona
Hi,
It seems that the
syn2andsyn3features are mutually exclusive, as they both a copy of the following impl:additionally, the following two blanket impls collide when both features are activated:
Is this intended? This suggests that using this crate in a setup that has both
syn2andsyn3based proc-macros that use the same versionmanyhowwill never compile since (AFAIK) the features formanyhowwill be unified.Thanks,
Jona