about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/infer/mod.rs
diff options
context:
space:
mode:
authorAlan Egerton <eggyal@gmail.com>2022-06-17 10:53:29 +0100
committerAlan Egerton <eggyal@gmail.com>2022-07-05 22:25:15 +0100
commite4b9625b87c4d3b5845ea5660cf84739de224192 (patch)
tree932111ee5ad67cb91e90508f290f5649b62cd9cf /compiler/rustc_middle/src/infer/mod.rs
parentbca894909cdb49b510dc6f60edbfa1465a948d09 (diff)
downloadrust-e4b9625b87c4d3b5845ea5660cf84739de224192.tar.gz
rust-e4b9625b87c4d3b5845ea5660cf84739de224192.zip
Add #[derive(TypeVisitable)]
Diffstat (limited to 'compiler/rustc_middle/src/infer/mod.rs')
-rw-r--r--compiler/rustc_middle/src/infer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/infer/mod.rs b/compiler/rustc_middle/src/infer/mod.rs
index 2350a6ab155..55e00c4c0d8 100644
--- a/compiler/rustc_middle/src/infer/mod.rs
+++ b/compiler/rustc_middle/src/infer/mod.rs
@@ -13,7 +13,7 @@ use rustc_span::Span;
 /// ```text
 /// R0 member of [O1..On]
 /// ```
-#[derive(Debug, Clone, HashStable, TypeFoldable, Lift)]
+#[derive(Debug, Clone, HashStable, TypeFoldable, TypeVisitable, Lift)]
 pub struct MemberConstraint<'tcx> {
     /// The `DefId` of the opaque type causing this constraint: used for error reporting.
     pub opaque_type_def_id: DefId,