]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs
Rollup merge of #99351 - compiler-errors:arg-mismatch-blame, r=davidtwco
[rust.git] / compiler / rustc_trait_selection / src / traits / error_reporting / mod.rs
index 3960f391407a386c5df580ab60b26925c3202882..8a679ca005f3d567740c89fdfbf98fc2e4a403ff 100644 (file)
@@ -665,6 +665,7 @@ fn report_selection_error(
                             self.suggest_restricting_param_bound(
                                 &mut err,
                                 trait_predicate,
+                                None,
                                 obligation.cause.body_id,
                             );
                         } else if !suggested {