about summary refs log tree commit diff
path: root/src/librustc/ty/instance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/ty/instance.rs')
-rw-r--r--src/librustc/ty/instance.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc/ty/instance.rs b/src/librustc/ty/instance.rs
index 5139c8085a5..7eee0a5e2b5 100644
--- a/src/librustc/ty/instance.rs
+++ b/src/librustc/ty/instance.rs
@@ -12,7 +12,8 @@ use rustc_macros::HashStable;
 use std::fmt;
 use std::iter;
 
-#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, RustcEncodable, RustcDecodable, HashStable)]
+#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, RustcEncodable, RustcDecodable)]
+#[derive(HashStable, Lift)]
 pub struct Instance<'tcx> {
     pub def: InstanceDef<'tcx>,
     pub substs: SubstsRef<'tcx>,