Skip to content

kill rustc::cfg consumers #51002

Closed
Closed
@nikomatsakis

Description

@nikomatsakis

In general, rustc::cfg should be considered deprecated, and we ought to work to remove its consumers and rewrite them to operate on MIR:

  • UnconditionalRecursion lint
  • AST-based borrowck (that's what NLL is doing, of course)
  • librustc_driver::pretty::print_flowgraph()

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions