Skip to content

Use env!() instead of option_env!().unwrap() #5147

Closed
@tesuji

Description

@tesuji

When the environment variable is missing.
One is compile time error. Other one is runtime error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-correctnessLint: Belongs in the correctness lint groupT-macrosType: Issues with macros and macro expansion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions