diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-08-11 14:31:52 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-08-11 15:49:14 -0400 |
| commit | 6e3790b17f1b58d67616ef1f9b899bc4af91d334 (patch) | |
| tree | ef1db45fb3a35444b5d2da09dc737c4329bf17df | |
| parent | 5b956fbf60ee36ba1e7b56e7747f31c0e3586c46 (diff) | |
YJIT: Fix `mismatched_lifetime_syntaxes`, new in Rust 1.89.0
| -rw-r--r-- | yjit/src/backend/ir.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/backend/ir.rs b/yjit/src/backend/ir.rs index 1df151433a..b704a24985 100644 --- a/yjit/src/backend/ir.rs +++ b/yjit/src/backend/ir.rs @@ -528,13 +528,13 @@ pub enum Insn { impl Insn { /// Create an iterator that will yield a non-mutable reference to each /// operand in turn for this instruction. - pub(super) fn opnd_iter(&self) -> InsnOpndIterator { + pub(super) fn opnd_iter(&self) -> InsnOpndIterator<'_> { InsnOpndIterator::new(self) } /// Create an iterator that will yield a mutable reference to each operand /// in turn for this instruction. - pub(super) fn opnd_iter_mut(&mut self) -> InsnOpndMutIterator { + pub(super) fn opnd_iter_mut(&mut self) -> InsnOpndMutIterator<'_> { InsnOpndMutIterator::new(self) } |
