Skip to content

Command-line option to list supported feature-gate names #38768

Closed
@joshtriplett

Description

@joshtriplett

I'd like to have a command-line option to list all the supported feature-gate names in rustc. This would simplify the job of tools that want to detect the features supported by the installed version of rustc.

I don't know if introducing an option like this would require an RFC, or just a patch. Posting this as an issue to find that out before working on a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions