about summary refs log tree commit diff
path: root/src/librustc/ich
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-08-26 14:22:59 +0200
committerRalf Jung <post@ralfj.de>2018-08-28 19:57:05 +0200
commitf96208ca5bd34ba5e9106fe6527db43a9bdc3a8f (patch)
tree18857fb568c05f46f5b242ce3782c5103accb457 /src/librustc/ich
parent6c78fa822a311e30e6421525570f472bf19e32fd (diff)
downloadrust-f96208ca5bd34ba5e9106fe6527db43a9bdc3a8f.tar.gz
rust-f96208ca5bd34ba5e9106fe6527db43a9bdc3a8f.zip
address nits
Diffstat (limited to 'src/librustc/ich')
-rw-r--r--src/librustc/ich/impls_ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ich/impls_ty.rs b/src/librustc/ich/impls_ty.rs
index 6ee0eb273d6..c598f99a2b5 100644
--- a/src/librustc/ich/impls_ty.rs
+++ b/src/librustc/ich/impls_ty.rs
@@ -517,7 +517,6 @@ for ::mir::interpret::EvalErrorKind<'gcx, O> {
             InvalidMemoryAccess |
             InvalidFunctionPointer |
             InvalidBool |
-            InvalidDiscriminant |
             InvalidNullPointerUsage |
             ReadPointerAsBytes |
             ReadBytesAsPointer |
@@ -550,6 +549,7 @@ for ::mir::interpret::EvalErrorKind<'gcx, O> {
             GeneratorResumedAfterReturn |
             GeneratorResumedAfterPanic |
             InfiniteLoop => {}
+            InvalidDiscriminant(val) => val.hash_stable(hcx, hasher),
             Panic { ref msg, ref file, line, col } => {
                 msg.hash_stable(hcx, hasher);
                 file.hash_stable(hcx, hasher);