We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c0364 commit ba00189Copy full SHA for ba00189
compiler/rustc_trait_selection/src/traits/auto_trait.rs
@@ -834,7 +834,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
834
let reported =
835
tcx.sess.emit_err(UnableToConstructConstantValue {
836
span: tcx.def_span(def_id),
837
- unevaluated,
+ unevaluated: unevaluated.expand(),
838
});
839
Err(ErrorHandled::Reported(reported))
840
}
0 commit comments