]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_transform/src/deduce_param_attrs.rs
Rollup merge of #107559 - WaffleLapkin:is_it_2015¿, r=davidtwco
[rust.git] / compiler / rustc_mir_transform / src / deduce_param_attrs.rs
index 92f1fff6beb950f7d1b72bef8d8ce775bc4fcf55..ddab7bbb2e3016a29fb23d9259c66a4064d9eac2 100644 (file)
@@ -129,7 +129,7 @@ fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: Location
 }
 
 /// Returns true if values of a given type will never be passed indirectly, regardless of ABI.
-fn type_will_always_be_passed_directly<'tcx>(ty: Ty<'tcx>) -> bool {
+fn type_will_always_be_passed_directly(ty: Ty<'_>) -> bool {
     matches!(
         ty.kind(),
         ty::Bool