From 8e509380a25bea9b485e071e161b54da05b19cac Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Wed, 23 Oct 2024 10:20:14 -0400 Subject: [PATCH] YJIT: Make PendingBranch::set_target `must_use` [ci skip] --- yjit/src/core.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/yjit/src/core.rs b/yjit/src/core.rs index 43ad688cc9..aaf9ca2055 100644 --- a/yjit/src/core.rs +++ b/yjit/src/core.rs @@ -1521,6 +1521,7 @@ impl std::fmt::Debug for Branch { impl PendingBranch { /// Set up a branch target at `target_idx`. Find an existing block to branch to /// or generate a stub for one. + #[must_use] fn set_target( &self, target_idx: u32,