From fd34549686d7640f3e21d079bd0e6fb71cb06e3d Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Thu, 9 Mar 2023 23:23:43 +0000 Subject: Remove body_def_id from Inherited --- compiler/rustc_const_eval/src/transform/check_consts/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_const_eval') diff --git a/compiler/rustc_const_eval/src/transform/check_consts/check.rs b/compiler/rustc_const_eval/src/transform/check_consts/check.rs index 656baa784d7..61c4d28bdfa 100644 --- a/compiler/rustc_const_eval/src/transform/check_consts/check.rs +++ b/compiler/rustc_const_eval/src/transform/check_consts/check.rs @@ -769,7 +769,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> { let errors = ocx.select_all_or_error(); if !errors.is_empty() { - infcx.err_ctxt().report_fulfillment_errors(&errors, None); + infcx.err_ctxt().report_fulfillment_errors(&errors); } } -- cgit 1.4.1-3-g733a5