]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/slow_vector_initialization.rs
Rollup merge of #105123 - BlackHoleFox:fixing-the-macos-deployment, r=oli-obk
[rust.git] / src / tools / clippy / clippy_lints / src / slow_vector_initialization.rs
index 760399231513f8a4b15668e35fb606f1745f313e..a2109038a05782900e88d1d751b7aa5244040aca 100644 (file)
@@ -168,7 +168,7 @@ fn lint_initialization<'tcx>(
         };
     }
 
-    fn emit_lint<'tcx>(cx: &LateContext<'tcx>, slow_fill: &Expr<'_>, vec_alloc: &VecAllocation<'_>, msg: &str) {
+    fn emit_lint(cx: &LateContext<'_>, slow_fill: &Expr<'_>, vec_alloc: &VecAllocation<'_>, msg: &str) {
         let len_expr = Sugg::hir(cx, vec_alloc.len_expr, "len");
 
         span_lint_and_then(cx, SLOW_VECTOR_INITIALIZATION, slow_fill.span, msg, |diag| {