Skip to content

Remove usage of wildcard imports #2875

@tcharding

Description

@tcharding

Wildcard imports make it impossible to see where a type is defined.

If the type is defined in the same file, there is generally no problem. Explicitly, the following three exceptions:

  • use super::*; in test modules etc.
  • Enum::* to use enum variants
  • opcode::all::*

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