Skip to content

Commit

Permalink
Auto merge of #119443 - Urgau:move-around-builtin-diag-context, r=Nil…
Browse files Browse the repository at this point in the history
…strieb

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 #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.