From eb7b655e219965a8169394074012532824004549 Mon Sep 17 00:00:00 2001 From: saruman9 Date: Fri, 6 Jun 2025 13:16:05 +0300 Subject: [Rust] Make the `target` field public in `Edge` --- rust/src/basic_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/basic_block.rs') diff --git a/rust/src/basic_block.rs b/rust/src/basic_block.rs index d12bb3e9..67b85987 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> { -- cgit v1.3.1