about summary refs log tree commit diff
diff options
context:
space:
mode:
authordswij <dharmasw@outlook.com>2025-06-14 17:40:22 +0000
committerGitHub <noreply@github.com>2025-06-14 17:40:22 +0000
commit49d0f86a734c69d774c80affc57b3286d6579c39 (patch)
treec2a3535e1cc520315f798c248adb209ebaf5580a
parent086a7c978063e08af2e9e6899616880986c5de68 (diff)
parent0d21f087dff7e8f6d11a1770557a32d06add7550 (diff)
downloadrust-49d0f86a734c69d774c80affc57b3286d6579c39.tar.gz
rust-49d0f86a734c69d774c80affc57b3286d6579c39.zip
Remove unneeded lifetime (#15040)
changelog: none
-rw-r--r--clippy_utils/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/lib.rs b/clippy_utils/src/lib.rs
index 2571242f47d..7fa52229fef 100644
--- a/clippy_utils/src/lib.rs
+++ b/clippy_utils/src/lib.rs
@@ -2710,7 +2710,7 @@ impl<'tcx> ExprUseNode<'tcx> {
 }
 
 /// Gets the context an expression's value is used in.
-pub fn expr_use_ctxt<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'tcx>) -> ExprUseCtxt<'tcx> {
+pub fn expr_use_ctxt<'tcx>(cx: &LateContext<'tcx>, e: &Expr<'tcx>) -> ExprUseCtxt<'tcx> {
     let mut adjustments = [].as_slice();
     let mut is_ty_unified = false;
     let mut moved_before_use = false;