Skip to content

Ensure zerocopy-derive doesn't emit code that assumes a prelude #882

@joshlf

Description

@joshlf

Add #![no_implicit_prelude] to every zerocopy-derive test in the zerocopy-derive/tests directory (other than trybuild.rs), and fix whatever breaks. If possible, come up with a more robust strategy to ensure we can't emit code that has this hygiene issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions