Skip to content

static_assert silently passes all consts #23008

Description

@kmcallister

No unused attribute warning, either.

#[static_assert]
pub const BLEH: bool = false;

fn main() { }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions