Skip to content

Commit 49d0f86

Browse files
authored
Remove unneeded lifetime (#15040)
changelog: none
2 parents 086a7c9 + 0d21f08 commit 49d0f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ impl<'tcx> ExprUseNode<'tcx> {
27102710
}
27112711

27122712
/// Gets the context an expression's value is used in.
2713-
pub fn expr_use_ctxt<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'tcx>) -> ExprUseCtxt<'tcx> {
2713+
pub fn expr_use_ctxt<'tcx>(cx: &LateContext<'tcx>, e: &Expr<'tcx>) -> ExprUseCtxt<'tcx> {
27142714
let mut adjustments = [].as_slice();
27152715
let mut is_ty_unified = false;
27162716
let mut moved_before_use = false;

0 commit comments

Comments
 (0)