about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-30 20:41:15 +0000
committerbors <bors@rust-lang.org>2023-12-30 20:41:15 +0000
commit2a3e63551fe21458637480a97b65a2d15dec8062 (patch)
treeebb188fe5058176f5329f14ae0ce71fe159671b7 /compiler/rustc_codegen_llvm/src
parent5a345b325b59370171d9a00c8f575fb177ead767 (diff)
parent429287243bb2bae9f4b1abda963b6de27140307c (diff)
downloadrust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions