Skip to content

The {{produces}} special marker isn't explained in lint docs #2114

Closed
@jieyouxu

Description

@jieyouxu

Lint docs e.g. in compiler/rustc_lint_defs/src/builtin.rs have this special {{produces}} annotation, we should explain what it does (I haven't quite looked at the exact behavior).

I think it's to generate a snapshot of the lint output for use by lint docs book itself.

Metadata

Metadata

Assignees

Labels

A-lintsArea: lintsC-enhancementCategory: enhancementE-easyDifficulty: might be a good place for a beginnerE-needs-investigationCall for participation: this issue needs further investigationT-bootstrapRelevant to bootstrap teamT-compilerRelevant to compiler team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions