about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-13 07:54:44 +0000
committerbors <bors@rust-lang.org>2023-07-13 07:54:44 +0000
commitf6ae0c11ace030d51bb210a6387d0e7d4e1768f1 (patch)
treec9cc4ba70ca6ba8acdf3ae676605aa38b885d814 /compiler/rustc_codegen_gcc
parent132ba2cf771cf80373233074570ed3fdbc2dea1a (diff)
parent8f612b5352e4d324535aa76fe7836fd81e8134dc (diff)
downloadrust-f6ae0c11ace030d51bb210a6387d0e7d4e1768f1.tar.gz
rust-f6ae0c11ace030d51bb210a6387d0e7d4e1768f1.zip
Auto merge of #15270 - ChristianSchott:patch-1, r=HKalbasi
Make fields of mir::Terminator public

When trying to use the RA crate, I am unable to access the fields in `hir_def::mir::Terminator`.
I don't see any reason, why these should be private, especially as the fields of `hir_def::mir::Statement` are `pub`.

I am not sure if the fields in `hir_def::mir::SwitchTargets` should be made `pub` too, but at least they are read-accessible via some public methods..

Sorry if I missed something, this is my first PR.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions