Commit 2a3e635
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