This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit c53f377
committed
Auto merge of rust-lang#119443 - Urgau:move-around-builtin-diag-context, r=Nilstrieb
Move around the code responsible for decorating builtin diagnostics
This PR move the code responsible for decorating builtin diagnostics into a separate sub-module for ease of use and readability.
While my original intention was to also move the check-cfg unexpected logic in their own function I changed my mind after moving the match altogether. I can move those if desired.
Fixes rust-lang#119425 (comment)
r? `@Nilstrieb`2 files changed
+538
-444
lines changed
0 commit comments