about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/transform
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-03-09 23:23:43 +0000
committerMichael Goulet <michael@errs.io>2023-03-09 23:25:23 +0000
commitfd34549686d7640f3e21d079bd0e6fb71cb06e3d (patch)
tree31743f177aa81142ae7b8e97c73d9ac829ef2b82 /compiler/rustc_const_eval/src/transform
parent5b99723439d45fdf7f6c12b7e06f86674e5ce262 (diff)
downloadrust-fd34549686d7640f3e21d079bd0e6fb71cb06e3d.tar.gz
rust-fd34549686d7640f3e21d079bd0e6fb71cb06e3d.zip
Remove body_def_id from Inherited
Diffstat (limited to 'compiler/rustc_const_eval/src/transform')
-rw-r--r--compiler/rustc_const_eval/src/transform/check_consts/check.rs2
1 files changed, 1 insertions, 1 deletions
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);
                         }
                     }