1
Fork 0

add test for builtin types N + N unifying with fn call

This commit is contained in:
Ellen 2021-09-09 15:43:59 +01:00
parent fd9bb30ab8
commit 8295e4a6cf
4 changed files with 33 additions and 5 deletions

View file

@ -1305,7 +1305,7 @@ impl EncodeContext<'a, 'tcx> {
if encode_const {
record!(self.tables.mir_for_ctfe[def_id.to_def_id()] <- self.tcx.mir_for_ctfe(def_id));
// FIXME this feels wrong to have in `encode_mir`
// FIXME(generic_const_exprs): this feels wrong to have in `encode_mir`
let abstract_const = self.tcx.thir_abstract_const(def_id);
if let Ok(Some(abstract_const)) = abstract_const {
record!(self.tables.thir_abstract_consts[def_id.to_def_id()] <- abstract_const);