]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/fn_ctxt/_impl.rs
Rollup merge of #101424 - compiler-errors:operator-err-sugg, r=TaKO8Ki
[rust.git] / compiler / rustc_typeck / src / check / fn_ctxt / _impl.rs
index b07edd43c0716e430cc408a537648d98e5d3ebdc..a40478db96901719f5392fff5481c634f393aaaa 100644 (file)
@@ -409,7 +409,7 @@ pub(in super::super) fn normalize_op_associated_types_in_as_infer_ok<T>(
                     rhs_span: opt_input_expr.map(|expr| expr.span),
                     is_lit: opt_input_expr
                         .map_or(false, |expr| matches!(expr.kind, ExprKind::Lit(_))),
-                    output_pred: None,
+                    output_ty: None,
                 },
             ),
             self.param_env,