This commit is contained in:
b-naber 2022-09-13 21:51:35 +02:00
parent 29c0364c37
commit ba00189d8e

View File

@ -834,7 +834,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
let reported =
tcx.sess.emit_err(UnableToConstructConstantValue {
span: tcx.def_span(def_id),
unevaluated,
unevaluated: unevaluated.expand(),
});
Err(ErrorHandled::Reported(reported))
}