FIXME
This commit is contained in:
parent
222ed9f571
commit
2ba7e776b6
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> InterpretCx<'a, 'mir, 'tcx, M>
|
|||
};
|
||||
// Early-return cases.
|
||||
match val.val {
|
||||
ConstValue::Param(_) => return err!(TooGeneric),
|
||||
ConstValue::Param(_) => return err!(TooGeneric), // FIXME(oli-obk): try to monomorphize
|
||||
ConstValue::Unevaluated(def_id, substs) => {
|
||||
let instance = self.resolve(def_id, substs)?;
|
||||
return Ok(OpTy::from(self.const_eval_raw(GlobalId {
|
||||
|
|
Loading…
Reference in a new issue