[derive] Improve hygiene testing by joshlf · Pull Request #2898 · google/zerocopy
joshlf
changed the title
[derive] Improve hygeine testing
[derive] Improve hygiene testing
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
deleted the
G3cb376b3f2d996151636f7aebb3a33f4134162e6
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters