Skip to content

Use annotate-snippets for rustc diagnostic output #123

@nikomatsakis

Description

@nikomatsakis
Metadata
Point of contact @Muscraft
Team(s) compiler
Goal document 2025h1/annotate-snippets

Summary

Switch to annotate-snippets for rendering rustc's output, with no loss of functionality or visual regressions.

Tasks and status

Reach output parity of rustc/annotate-snippets

Initial use of annotate-snippets

  • update annotate-snippets to latest version
  • teach cargo to pass annotate-snippets flag (@estebank)
  • add ui test mode comparing new output
  • switch default nightly rustc output

Production use of annotate-snippets

  • switch default rustc output
  • release notes
  • switch ui tests to only check new output
  • Dedicated reviewer (compiler Team)

Standard reviews

Top-level Rust blog post inviting feedback

  • Top-level Rust blog post inviting feedback

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions