Skip to content

Commit 8f612b5

Browse files
Make fields of mir::Terminator public
1 parent 75ac37f commit 8f612b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/hir-ty/src/mir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ impl SwitchTargets {
323323

324324
#[derive(Debug, PartialEq, Eq, Clone)]
325325
pub struct Terminator {
326-
span: MirSpan,
327-
kind: TerminatorKind,
326+
pub span: MirSpan,
327+
pub kind: TerminatorKind,
328328
}
329329

330330
#[derive(Debug, PartialEq, Eq, Clone)]

0 commit comments

Comments
 (0)