diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-06-12 22:16:07 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-06-12 22:27:22 +0200 |
| commit | 0d21f087dff7e8f6d11a1770557a32d06add7550 (patch) | |
| tree | be5982769796899293e38c6b1de748a33f971c6c | |
| parent | 6d7c16a3d6301c6a07b2aad768e2e4113b9d5f8f (diff) | |
| download | rust-0d21f087dff7e8f6d11a1770557a32d06add7550.tar.gz rust-0d21f087dff7e8f6d11a1770557a32d06add7550.zip | |
Remove unneeded lifetime
| -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 55469e8ebc9..ccae5f010b5 100644 --- a/clippy_utils/src/lib.rs +++ b/clippy_utils/src/lib.rs @@ -2711,7 +2711,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; |
