diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-15 16:59:01 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-06-17 21:20:20 +0000 |
| commit | 52d3fc93f2194b0646e5447f29e6702b7c71ddae (patch) | |
| tree | 2573b926180d72ae93ee65090aac54fbeae0edb9 /compiler/rustc_hir_analysis/src/collect | |
| parent | a8a29070f07e47a244c8199ad582f93172019743 (diff) | |
| download | rust-52d3fc93f2194b0646e5447f29e6702b7c71ddae.tar.gz rust-52d3fc93f2194b0646e5447f29e6702b7c71ddae.zip | |
Move WF goal to clause
Diffstat (limited to 'compiler/rustc_hir_analysis/src/collect')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/collect/predicates_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect/predicates_of.rs b/compiler/rustc_hir_analysis/src/collect/predicates_of.rs index dcb57902928..843896d85aa 100644 --- a/compiler/rustc_hir_analysis/src/collect/predicates_of.rs +++ b/compiler/rustc_hir_analysis/src/collect/predicates_of.rs @@ -219,7 +219,7 @@ fn gather_explicit_predicates_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ty::Gen } else { let span = bound_pred.bounded_ty.span; let predicate = ty::Binder::bind_with_vars( - ty::PredicateKind::WellFormed(ty.into()), + ty::PredicateKind::Clause(ty::Clause::WellFormed(ty.into())), bound_vars, ); predicates.insert((predicate.to_predicate(tcx), span)); |
