[derive] Improve hygiene testing by joshlf · Pull Request #2898 · google/zerocopy

@joshlf mentioned this pull request

Jan 20, 2026

@joshlf joshlf changed the title [derive] Improve hygeine testing [derive] Improve hygiene testing

Jan 20, 2026

gemini-code-assist[bot]

joshlf

joshlf

@joshlf

In zerocopy-derive tests, import `zerocopy` as `zerocopy_renamed` so
that references to `::zerocopy` fail to resolve. This ensures that no
generated code hard-codes `zerocopy` or `::zerocopy`, and instead all
references make use of the provided custom crate name.

gherrit-pr-id: G3cb376b3f2d996151636f7aebb3a33f4134162e6

@joshlf joshlf deleted the G3cb376b3f2d996151636f7aebb3a33f4134162e6 branch

January 20, 2026 21:26