Make fields of mir::Terminator public
This commit is contained in:
parent
75ac37f317
commit
8f612b5352
@ -323,8 +323,8 @@ impl SwitchTargets {
|
|||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||||
pub struct Terminator {
|
pub struct Terminator {
|
||||||
span: MirSpan,
|
pub span: MirSpan,
|
||||||
kind: TerminatorKind,
|
pub kind: TerminatorKind,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user