Skip to content

Commit

Permalink
Auto merge of rust-lang#119443 - Urgau:move-around-builtin-diag-conte…
Browse files Browse the repository at this point in the history
…xt, 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`
  • Loading branch information
bors committed Dec 30, 2023
2 parents 5a345b3 + 4292872 commit 2a3e635
Show file tree
Hide file tree
Showing 2 changed files with 538 additions and 444 deletions.
Loading

0 comments on commit 2a3e635

Please sign in to comment.