diff options
| author | bors <bors@rust-lang.org> | 2023-12-30 20:41:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-30 20:41:15 +0000 |
| commit | 2a3e63551fe21458637480a97b65a2d15dec8062 (patch) | |
| tree | ebb188fe5058176f5329f14ae0ce71fe159671b7 /compiler/rustc_interface/src | |
| parent | 5a345b325b59370171d9a00c8f575fb177ead767 (diff) | |
| parent | 429287243bb2bae9f4b1abda963b6de27140307c (diff) | |
| download | rust-2a3e63551fe21458637480a97b65a2d15dec8062.tar.gz rust-2a3e63551fe21458637480a97b65a2d15dec8062.zip | |
Auto merge of #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 https://github.com/rust-lang/rust/pull/119425#discussion_r1438446596 r? `@Nilstrieb`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
