diff options
| author | ChristianSchott <56631269+ChristianSchott@users.noreply.github.com> | 2023-07-12 09:35:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-12 09:35:44 +0200 |
| commit | 8f612b5352e4d324535aa76fe7836fd81e8134dc (patch) | |
| tree | fc006c145500b894030bc79333700c180a18c1ff | |
| parent | 75ac37f317269798da87d42738d79cade3a28ab9 (diff) | |
| download | rust-8f612b5352e4d324535aa76fe7836fd81e8134dc.tar.gz rust-8f612b5352e4d324535aa76fe7836fd81e8134dc.zip | |
Make fields of mir::Terminator public
| -rw-r--r-- | crates/hir-ty/src/mir.rs | 4 |
1 files 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)] |
