From 8f612b5352e4d324535aa76fe7836fd81e8134dc Mon Sep 17 00:00:00 2001 From: ChristianSchott <56631269+ChristianSchott@users.noreply.github.com> Date: Wed, 12 Jul 2023 09:35:44 +0200 Subject: [PATCH] Make fields of mir::Terminator public --- crates/hir-ty/src/mir.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/hir-ty/src/mir.rs b/crates/hir-ty/src/mir.rs index 5e92b350a3c..dc846fc3947 100644 --- a/crates/hir-ty/src/mir.rs +++ b/crates/hir-ty/src/mir.rs @@ -323,8 +323,8 @@ impl SwitchTargets { #[derive(Debug, PartialEq, Eq, Clone)] pub struct Terminator { - span: MirSpan, - kind: TerminatorKind, + pub span: MirSpan, + pub kind: TerminatorKind, } #[derive(Debug, PartialEq, Eq, Clone)]