summaryrefslogtreecommitdiff
path: root/rust/src/low_level_il
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-04 15:49:30 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commit16b6295afc4f7aee0e4aba4f2217b124524843d0 (patch)
treeb2e7478aee643b0f5902abd7a60aab856f4ea6f7 /rust/src/low_level_il
parente180c955f9397849bdb1ea08f1e913ebac71ed5d (diff)
[Rust] Misc clippy lints
Diffstat (limited to 'rust/src/low_level_il')
-rw-r--r--rust/src/low_level_il/block.rs4
-rw-r--r--rust/src/low_level_il/expression.rs6
-rw-r--r--rust/src/low_level_il/instruction.rs2
-rw-r--r--rust/src/low_level_il/lifting.rs2
4 files changed, 7 insertions, 7 deletions
diff --git a/rust/src/low_level_il/block.rs b/rust/src/low_level_il/block.rs
index 519c707e..fd3e7c81 100644
--- a/rust/src/low_level_il/block.rs
+++ b/rust/src/low_level_il/block.rs
@@ -51,7 +51,7 @@ where
}
}
-impl<'func, M, F> Debug for LowLevelILBlock<'func, M, F>
+impl<M, F> Debug for LowLevelILBlock<'_, M, F>
where
M: FunctionMutability,
F: FunctionForm,
@@ -63,7 +63,7 @@ where
}
}
-impl<'func, M, F> Clone for LowLevelILBlock<'func, M, F>
+impl<M, F> Clone for LowLevelILBlock<'_, M, F>
where
M: FunctionMutability,
F: FunctionForm,
diff --git a/rust/src/low_level_il/expression.rs b/rust/src/low_level_il/expression.rs
index 331ab980..6addb7e1 100644
--- a/rust/src/low_level_il/expression.rs
+++ b/rust/src/low_level_il/expression.rs
@@ -91,7 +91,7 @@ where
}
}
-impl<'func, M, F, R> fmt::Debug for LowLevelILExpression<'func, M, F, R>
+impl<M, F, R> Debug for LowLevelILExpression<'_, M, F, R>
where
M: FunctionMutability,
F: FunctionForm,
@@ -202,7 +202,7 @@ where
}
}
-impl<'func, F> LowLevelILExpression<'func, Finalized, F, ValueExpr>
+impl<F> LowLevelILExpression<'_, Finalized, F, ValueExpr>
where
F: FunctionForm,
{
@@ -650,7 +650,7 @@ where
}
}
-impl<'func> LowLevelILExpressionKind<'func, Mutable, NonSSA<LiftedNonSSA>> {
+impl LowLevelILExpressionKind<'_, Mutable, NonSSA<LiftedNonSSA>> {
pub fn flag_write(&self) -> Option<CoreFlagWrite> {
use self::LowLevelILExpressionKind::*;
diff --git a/rust/src/low_level_il/instruction.rs b/rust/src/low_level_il/instruction.rs
index a1253df5..ded9c6f3 100644
--- a/rust/src/low_level_il/instruction.rs
+++ b/rust/src/low_level_il/instruction.rs
@@ -100,7 +100,7 @@ where
}
}
-impl<'func, M, F> Debug for LowLevelILInstruction<'func, M, F>
+impl<M, F> Debug for LowLevelILInstruction<'_, M, F>
where
M: FunctionMutability,
F: FunctionForm,
diff --git a/rust/src/low_level_il/lifting.rs b/rust/src/low_level_il/lifting.rs
index c40f68f2..b0f85f11 100644
--- a/rust/src/low_level_il/lifting.rs
+++ b/rust/src/low_level_il/lifting.rs
@@ -667,7 +667,7 @@ impl<'a> LiftableLowLevelILWithSize<'a>
}
}
-impl<'func, R> LowLevelILExpression<'func, Mutable, NonSSA<LiftedNonSSA>, R>
+impl<R> LowLevelILExpression<'_, Mutable, NonSSA<LiftedNonSSA>, R>
where
R: ExpressionResultType,
{