]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/traits/codegen.rs
Rollup merge of #105382 - BoxyUwU:fixme_typo_sadface, r=lcnr
[rust.git] / compiler / rustc_trait_selection / src / traits / codegen.rs
index 61743d78e9e801be7ec2c5211d9e4f9b6a22538f..0102d268b42e18b51e558247d042f9120092fabd 100644 (file)
@@ -70,7 +70,7 @@ pub fn codegen_select_candidate<'tcx>(
         // `rustc_ty_utils::resolve_associated_item` doesn't return `None` post-monomorphization.
         for err in errors {
             if let FulfillmentErrorCode::CodeCycle(cycle) = err.code {
-                infcx.err_ctxt().report_overflow_error_cycle(&cycle);
+                infcx.err_ctxt().report_overflow_obligation_cycle(&cycle);
             }
         }
         return Err(CodegenObligationError::FulfillmentError);