YJIT: Fix mismatched_lifetime_syntaxes, new in Rust 1.89.0

This commit is contained in:
Alan Wu 2025-08-11 14:31:52 -04:00
parent 5b956fbf60
commit 6e3790b17f

View file

@ -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)
}