Use dummy mod to make sure namespace is not polluted when expanding derive macros #18
Labels
C: derive
Context: Derive library
D1: trivial
Difficulty: Trivial to implement for beginners
T: quality
Type: Code quality improvment
U2: need to have
Urgency: Need to have
When expanding
Config
derive macro, we should wrap the generated code in a dummy mod:Blocked by rust-lang/rust-analyzer#7550
Similarly for
Model
and other derives.The text was updated successfully, but these errors were encountered: