Skip to content

Create examples of using rustc for common tasks #947

Open
@jyn514

Description

@jyn514
  • Converting between IDs (HirIds, DefIds, LocalDefIds)
  • Accessing the AST/HIR/MIR of a program

It turns out we have some examples already in https://github.com/rust-lang/rustc-dev-guide/blob/master/examples/, we should expand those and make them more prominent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-examplesArea: examplesC-enhancementCategory: enhancementE-hardDifficulty: might require advanced knowledgeT-compilerRelevant to compiler team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions