diff options
| author | dswij <dharmasw@outlook.com> | 2025-06-14 17:40:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-14 17:40:22 +0000 |
| commit | 49d0f86a734c69d774c80affc57b3286d6579c39 (patch) | |
| tree | c2a3535e1cc520315f798c248adb209ebaf5580a | |
| parent | 086a7c978063e08af2e9e6899616880986c5de68 (diff) | |
| parent | 0d21f087dff7e8f6d11a1770557a32d06add7550 (diff) | |
| download | rust-49d0f86a734c69d774c80affc57b3286d6579c39.tar.gz rust-49d0f86a734c69d774c80affc57b3286d6579c39.zip | |
Remove unneeded lifetime (#15040)
changelog: none
| -rw-r--r-- | clippy_utils/src/lib.rs | 2 |
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; |
