about summary refs log tree commit diff
path: root/compiler/rustc_privacy/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-06-15 16:59:01 +0000
committerMichael Goulet <michael@errs.io>2023-06-17 21:20:20 +0000
commit52d3fc93f2194b0646e5447f29e6702b7c71ddae (patch)
tree2573b926180d72ae93ee65090aac54fbeae0edb9 /compiler/rustc_privacy/src
parenta8a29070f07e47a244c8199ad582f93172019743 (diff)
downloadrust-52d3fc93f2194b0646e5447f29e6702b7c71ddae.tar.gz
rust-52d3fc93f2194b0646e5447f29e6702b7c71ddae.zip
Move WF goal to clause
Diffstat (limited to 'compiler/rustc_privacy/src')
-rw-r--r--compiler/rustc_privacy/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs
index 5ef11acadce..0c23ae2b68f 100644
--- a/compiler/rustc_privacy/src/lib.rs
+++ b/compiler/rustc_privacy/src/lib.rs
@@ -183,7 +183,7 @@ where
                 ty.visit_with(self)
             }
             ty::PredicateKind::ConstEvaluatable(ct) => ct.visit_with(self),
-            ty::PredicateKind::WellFormed(arg) => arg.visit_with(self),
+            ty::PredicateKind::Clause(ty::Clause::WellFormed(arg)) => arg.visit_with(self),
 
             ty::PredicateKind::ObjectSafe(_)
             | ty::PredicateKind::ClosureKind(_, _, _)