From 9569cb751504e829fb207dea34ae3b1c39ccd051 Mon Sep 17 00:00:00 2001 From: saruman9 Date: Fri, 6 Jun 2025 13:16:05 +0300 Subject: [PATCH] [Rust] Make the `target` field public in `Edge` --- rust/src/basic_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/basic_block.rs b/rust/src/basic_block.rs index d12bb3e95a..67b8598762 100644 --- a/rust/src/basic_block.rs +++ b/rust/src/basic_block.rs @@ -30,7 +30,7 @@ pub struct Edge<'a, C: 'a + BlockContext> { pub branch: BranchType, pub back_edge: bool, pub source: Guard<'a, BasicBlock>, - target: Guard<'a, BasicBlock>, + pub target: Guard<'a, BasicBlock>, } impl<'a, C: 'a + fmt::Debug + BlockContext> fmt::Debug for Edge<'a, C> {