about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-05-29 14:49:02 +0200
committerRalf Jung <post@ralfj.de>2019-06-02 10:36:18 +0200
commit2ba7e776b611b797b00e5a2cd02584c5993514d5 (patch)
treecf27e239434c3ad2ef7ea150619f5abc9ecedc68
parent222ed9f57118a2542a67d39e6df07152bac0b962 (diff)
downloadrust-2ba7e776b611b797b00e5a2cd02584c5993514d5.tar.gz
rust-2ba7e776b611b797b00e5a2cd02584c5993514d5.zip
FIXME
-rw-r--r--src/librustc_mir/interpret/operand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/operand.rs b/src/librustc_mir/interpret/operand.rs
index 130343d0b2f..2fc7d65d655 100644
--- a/src/librustc_mir/interpret/operand.rs
+++ b/src/librustc_mir/interpret/operand.rs
@@ -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 {