about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/traits/project.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_infer/src/traits/project.rs
parentbca894909cdb49b510dc6f60edbfa1465a948d09 (diff)
downloadrust-e4b9625b87c4d3b5845ea5660cf84739de224192.tar.gz
rust-e4b9625b87c4d3b5845ea5660cf84739de224192.zip
Add #[derive(TypeVisitable)]
Diffstat (limited to 'compiler/rustc_infer/src/traits/project.rs')
-rw-r--r--compiler/rustc_infer/src/traits/project.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/traits/project.rs b/compiler/rustc_infer/src/traits/project.rs
index b84ed3dc689..932e597509f 100644
--- a/compiler/rustc_infer/src/traits/project.rs
+++ b/compiler/rustc_infer/src/traits/project.rs
@@ -20,7 +20,7 @@ pub struct MismatchedProjectionTypes<'tcx> {
     pub err: ty::error::TypeError<'tcx>,
 }
 
-#[derive(Clone, TypeFoldable)]
+#[derive(Clone, TypeFoldable, TypeVisitable)]
 pub struct Normalized<'tcx, T> {
     pub value: T,
     pub obligations: Vec<PredicateObligation<'tcx>>,