introduce mir::Unevaluated
This commit is contained in:
parent
3e50038a2d
commit
9f3784df89
32 changed files with 166 additions and 132 deletions
|
@ -834,7 +834,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
let reported =
|
||||
tcx.sess.emit_err(UnableToConstructConstantValue {
|
||||
span: tcx.def_span(def_id),
|
||||
unevaluated: unevaluated.expand(),
|
||||
unevaluated: unevaluated,
|
||||
});
|
||||
Err(ErrorHandled::Reported(reported))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue