about summary refs log tree commit diff
path: root/src/librustc/mir
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-03-12 20:25:41 +0000
committervarkor <github@varkor.com>2019-05-01 23:10:57 +0100
commitf5712d2de09e2c35843150b05fdf3672534dff00 (patch)
tree2d2a3dce43974e79d411aa2ecd5deffdd0494a16 /src/librustc/mir
parent245a474ab7f782912255152e68a7e545718820bf (diff)
downloadrust-f5712d2de09e2c35843150b05fdf3672534dff00.tar.gz
rust-f5712d2de09e2c35843150b05fdf3672534dff00.zip
Add `ConstValue::Placeholder`
Diffstat (limited to 'src/librustc/mir')
-rw-r--r--src/librustc/mir/interpret/value.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/mir/interpret/value.rs b/src/librustc/mir/interpret/value.rs
index 18c82ecd38e..12178196cef 100644
--- a/src/librustc/mir/interpret/value.rs
+++ b/src/librustc/mir/interpret/value.rs
@@ -58,6 +58,7 @@ impl<'tcx> ConstValue<'tcx> {
         match *self {
             ConstValue::Param(_) |
             ConstValue::Infer(_) |
+            ConstValue::Placeholder(_) |
             ConstValue::ByRef(..) |
             ConstValue::Unevaluated(..) |
             ConstValue::Slice(..) => None,