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_infer/src/traits/util.rs | |
| parent | a8a29070f07e47a244c8199ad582f93172019743 (diff) | |
| download | rust-52d3fc93f2194b0646e5447f29e6702b7c71ddae.tar.gz rust-52d3fc93f2194b0646e5447f29e6702b7c71ddae.zip | |
Move WF goal to clause
Diffstat (limited to 'compiler/rustc_infer/src/traits/util.rs')
| -rw-r--r-- | compiler/rustc_infer/src/traits/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/traits/util.rs b/compiler/rustc_infer/src/traits/util.rs index 74a78f38024..66056de03b5 100644 --- a/compiler/rustc_infer/src/traits/util.rs +++ b/compiler/rustc_infer/src/traits/util.rs @@ -227,7 +227,7 @@ impl<'tcx, O: Elaboratable<'tcx>> Elaborator<'tcx, O> { debug!(?data, ?obligations, "super_predicates"); self.extend_deduped(obligations); } - ty::PredicateKind::WellFormed(..) => { + ty::PredicateKind::Clause(ty::Clause::WellFormed(..)) => { // Currently, we do not elaborate WF predicates, // although we easily could. } |
