Closed pksunkara closed 3 years ago
When expanding Config derive macro, we should wrap the generated code in a dummy mod:
Config
const _: () = { impl ::reign::Config for #ident { // ... }; };
Blocked by https://github.com/rust-analyzer/rust-analyzer/issues/7550
Similarly for Model and other derives.
Model
When expanding
Config
derive macro, we should wrap the generated code in a dummy mod:Blocked by https://github.com/rust-analyzer/rust-analyzer/issues/7550
Similarly for
Model
and other derives.