Skip to content

Rename core::info, etc. and modernize #3941

Description

@brson

Constants named info, etc. are imported by default, and they can't be shadowed by variable bindings. At the minimum they should have less intrusive names, and follow the appropriate naming convention for constants.

They probably deserve to be enums, and therefore lang items.

These are rarely used, most people favoring the macros, so I think they should not even be imported by default, moved to core::logging.

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-syntaxextArea: Syntax extensionsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions