mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-28 12:55:11 +00:00
Make fields of mir::Terminator public
This commit is contained in:
parent
75ac37f317
commit
8f612b5352
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue