diff options
| author | Michael Goulet <michael@errs.io> | 2024-10-29 23:42:59 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-10-30 16:23:16 +0000 |
| commit | 802f3a78a6eea323617964a168a612d1b0826bd6 (patch) | |
| tree | d8eea7d61cf7386fa8cd4e514eb8ce0f31839ef6 /compiler/rustc_privacy | |
| parent | 298c7462c3bf66d0afd39284cb65ec78a787a594 (diff) | |
| download | rust-802f3a78a6eea323617964a168a612d1b0826bd6.tar.gz rust-802f3a78a6eea323617964a168a612d1b0826bd6.zip | |
Merge HostPolarity and BoundConstness
Diffstat (limited to 'compiler/rustc_privacy')
| -rw-r--r-- | compiler/rustc_privacy/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs index 05954143aee..1a5c29afdc9 100644 --- a/compiler/rustc_privacy/src/lib.rs +++ b/compiler/rustc_privacy/src/lib.rs @@ -139,7 +139,7 @@ where } ty::ClauseKind::HostEffect(pred) => { try_visit!(self.visit_trait(pred.trait_ref)); - pred.host.visit_with(self) + pred.constness.visit_with(self) } ty::ClauseKind::Projection(ty::ProjectionPredicate { projection_term: projection_ty, |
