mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
FIXME
This commit is contained in:
@@ -512,7 +512,7 @@ pub(super) fn eval_operands(
|
||||
};
|
||||
// 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 {
|
||||
|
||||
Reference in New Issue
Block a user